MVVM 基础与 MVVM 工具包
有人可以解释一下 MVVM Foundation 和 MVVM 工具包?他们似乎有很多共同点。
Can someone explain the differences between the MVVM Foundation and the MVVM Toolkit? They seem to have a lot in common.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
MVVM Foundation 由个人创建和维护,而 MVVM Toolkit 是 Microsoft 人员开发的更大软件包的一部分。我并不是说哪个更好——只是指出这个事实。
MVVM Foundation is created and maintained by single person while MVVM Toolkit is part of a much larger package developed by people from Microsoft. I'm not saying which is the better - just pointing out this fact.
MVVM Foundation 是一个轻薄、简单、开源的 MVVM 架构库。它包括 INotifyPropertyChanged 和绑定到命令所需的大量基本管道代码。它最有用的功能是 Wpf 和 Silverlight 的中介模式实现,它允许视图模型之间的弱引用事件,如果您使用 MVVM,这是必不可少的。我在所有 Silverlight 项目中都使用过它。
MVVM Foundation is a thin, simple, open source MVVM architecture library. It includes alot of the basic plumbing code required for INotifyPropertyChanged and binding to Commands. Its most useful feature is the Mediator pattern implementation for both Wpf and Silverlight, which allows weak reference eventing between view models, which is indespensible if you're using MVVM. I've used it in all my Silverlight projects.