实现MVVM的框架有很多,如:
• MVVM Light Toolkit: http://mvvmlight.codeplex.com
• Microsoft Prism http://compositewpf.codeplex.com/
• Calcium SDK http://calciumsdk.net/
• Caliburn http://caliburn.codeplex.com/
•Caliburn Micro http://caliburnmicro.codeplex.com/
• Silverlight.FX: http://projects.nikhilk.net/SilverlightFX
• nRoute: http://nroute.codeplex.com
MVVM Light Toolkit |
|
MEFedMVVM |
|
Cinch |
,此处选择两个比较常见的分析一下
MVVM Light |
http://www.galasoft.ch/mvvm/getstarted 轻量级框架,很简单 |
Prism |
http://compositewpf.codeplex.com 前身Composite Application Guidance for WPF and Silverlight 重量级,初次使用有些复杂 |
MVVM Light Toolkit or Prism