开发者

which MVVM framework is good for SL4?

  1. MVVM foundation (by Josh Smith)
  2. 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:

  1. Caliburn Micro : An opinionated developer focused MVVM Framework
  2. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜