Could you tell me which is the best MVVM pattern someone have to follow (like Prism). Where can I find hands-on examples to help? Actually, I am little confused which one to follow?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The Wikepedia article about MVVM has a list of frameworks. Here is a selection of some of the frameworks from the list:
- Calcium
- Caliburn
- Cinch
- CoreMVVM
- MVVM Foundation
- MVVM Light Toolkit
- WPF Application Framework (WAF)
- WPF Model-View-ViewModel Toolkit
Personally, I can recommend Rob Eisenberg's Caliburn. You can see his very educating introduction to MVVM at MIX 2010: Build Your Own MVVM Framework.
回答2:
I don't know what you are exactly mean. MVVM itself is a design pattern. if you mean what are MVVM's best implementations and libraries then some of them are as follow:
- WPF MVVM Toolkit: here
- Prism
- Cinch: here
- MVVM Foundation: here
- MVVM Light: here
also here you can find a great article about MVVM. I hope these will help you.
回答3:
A great list of MVVM frameworks can be found at MVVM Framework Explorer.