Old forum URL: forums.lhotka.net/forums/t/9029.aspx

RockfordLhotka posted on Thursday, June 03, 2010

I am working on a video series discussing the use of the MVVM design pattern, plus a “zero code-behind” philosophy with CSLA 4.

I’ve decided to put the intro video out there for free. It is a good video, covering the basics of the pattern, my approach to the pattern and how a CSLA-based Model works best in the pattern.


The rest of the series will be demo-based, covering the specifics of implementation. I’ll add another blog post when that’s available for purchase, but I thought I’d get this intro online now so people can make use of it.

cds replied on Thursday, June 03, 2010

Great video - thanks Rocky!

lukky replied on Friday, June 04, 2010

Thanks Rocky,

I really appreciate this kind of "mile high" view of things.

I can't wait to get the rest of the series. have you thought about the pricing yet ?


ajj3085 replied on Friday, June 04, 2010

Hey Rocky, will you have an option to pre-order the videos?

RockfordLhotka replied on Friday, June 04, 2010

Probably. But I must be honest - I ended up spending most of this week working with customers, I'm at Tech Ed next week and family vacation the week following. So unless I can sneak some time in here late at night or on a weekend, the next segment won't be done until around June 23 Sad

Chris replied on Saturday, June 05, 2010

I've been working with your MVVM framework for a month or so.  I found the video helpful to watch and I look forward to the upcoming segments.  I have used PRISM (all versions) since its inception (formerly CAB ... used that one too!) and I am enjoying the progression of your lightweight xaml framework.  The nice thing is how it is built to support csla objects.  That is particularly nice.  I grew weary of using PRISM, for my latest project , since I simply didn't need the complexity.  So, I switched (about a month ago) to using your lightweight MVVM framework.  The code reduction and clarity is remarkable!  I do miss the event publication/event subscription support that is found in PRISM.  I know your MVVM framework is a teaching tool, but, I would be interested to know if anyone has successfully integrated pub/sub support into your framework.

Best regards,


RockfordLhotka replied on Saturday, June 05, 2010

Yeah, the pub/sub feature is really nice. I know people who "use PRISM" for only that one feature.

I only made my Bxf code available perhaps 2 months ago, so it hasn't been public very long. There have not been any additions/contributions to that codebase.

HK.Lee replied on Sunday, June 06, 2010

I too changed to Bxf framework for 10 or so view size apps because it is the most lightweight and use PRISM larger than that. In addition with Chris, I miss pub/sub event feature too. For PRISM 4.0, drop 1 showed up last week and  I found  they use their own ViewModelBase class,don't know how deep level the type is winded up so can't be coexist with Csla ViewModelbase, I am afraid I have to add most of all features in CSLA's ViewModelBase. I think Bxf + event pub/sub + MEF would be the most lightweight and useful one for CSLA'ers. I hope this kind of open project is started and shared with  in this forum. 

Thank you in advance.


HK.Lee replied on Tuesday, June 08, 2010

Hi Dan,

I am sure I'm not an expert but wud like to share my 2cents knowledge. MEF will replace PRISM's Unity Container and add some other functionality. Event pub/sub and RegionManager is still the unique parts of PRISM, though Jerremy even replace regionManager with MEF. Pls refer his article http://csharperimage.jeremylikness.com/2010/03/mef-instead-of-prism-for-silverlight-3.html . In his series of article, it is aslo well explained how modules can be loaded dynamically usign MEF. 

I am also about to start a silverlight + wpf project consisting of 250~300 views using CSLA 4.0 and PRISM3.0 + MEF. Now I'm considering whether I have to drop PRISM and use Bxf+MEF instead, because it is useless to add heavier component such as Unity and others which MEF can fully address. Only one thing unsolved is Event pub/sub feature if I stick to Bxf + MEF.

Furthermore ,though it is so early stage, PRISM4.0 has own viewmodelbase class which has a few funcions at current but not implemented as an interface,in which what I'm afraid is how much I have to tweak them to adapt in CSLA's viewmodelbase. With MVVM, viewmodelbase of Csla is second to none as far as I'm going with CSLA,I think. Though I have used composite app block from CAB/SCSF and PRISM and am very happy with them , I might have to consider seriously to drop them if it is difficult to coexist with CSLA's MVVM when PRISM 4.0 is out,of course many gurus of PRISM will be sure to fully address most issues.

my 2cents with poor english. Thanks.


Chris replied on Tuesday, June 08, 2010

Hi Dan,

My SL app is a naviagtion app ... unfortunately, I am far from implementing dynamic module loading yet ... not a priority right now ... but, I've read several articles on the possibility of dynamic module loading ... Here is one article I read ... http://csharperimage.jeremylikness.com/2009/11/dynamic-module-loading-with-silverlight.html


HK.Lee and Dan ... if you read this ... I encountered an "edit level" issue with MVVM ... I was wondering if you too have encountered it too .. post: http://forums.lhotka.net/forums/p/9052/43026.aspx#43026


Copyright (c) Marimer LLC