which MVVM framework is good for SL4?
- MVVM foundation (by Josh Smith)
MVVM开发者_如何学运维 light tollkit.
I am using Microsoft Visual Web Developer 2010 Express
So what's the question? I like MVVM Light, but that's already listed in your question. Are you looking for advice on how to use it?
I haven't use Josh Smith's, but MVVM Light has a really nice Messenger class for communicating between ViewModels, a generic RelayCommand implementation, and some other sugar here and there.
MVVM Light is indeed very nice one. I edit the templates though to get rid of all the comments.
I Always add a custom base class to add some utility methods (eg. a generic RaisePropertyChangedhandler)
Another few to consider are:
- Caliburn Micro : An opinionated developer focused MVVM Framework
- Reactive UI : Based on the Reactive Extensions Framework
Both of these are great MVVM frameworks and use very different methods to implement MVVM, The fun bit is trying them out. :)
MVVM is a design pattern ... so really, no libraries are required. The question is, what Library offers the best suport for the type/size of application that you're creating... MVVM Light is a great library to start with - easy and a nice small footprint.
精彩评论