MVVM Silverlight 框架选择
我应该考虑哪些 Silverlight MVVM 框架 - 考虑到这些功能领域。
1) IoC - 我可以选择自己的吗?我想避免使用带属性的 MEF。
2) 导航
3)回调简化
4)“IMessageBox”类型抽象
5) 可测试性
6) 日志
记录 注意:减轻向成熟 WPF 的转换并不是一个问题。这个应用程序将永远只是Silverlight。
还有哪些事情是我没有想到的?
有没有比较和对比当前框架的好的在线参考资料?
Which Silverlight MVVM Frameworks should I look at - taking into account these areas of functionality.
1) IoC - can I choose my own? I would like to avoid using MEF w/ Attributes.
2) Navigation
3) Callback simplification
4) "IMessageBox" type abstractions
5) Testability
6) Logging
Note: mitigating a conversion to full-blown WPF is not a concern. This app will always be only Silverlight.
What other things haven't I thought of?
Any good online references that compare and contrast the current frameworks?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我个人喜欢 Prism,但您可以找到许多框架/库的完整列表以及功能比较此处。
我希望这有帮助。
谢谢,
达米安
I personally like Prism, but you can find a comprehensive list of many frameworks/libraries with features comparison here.
I hope this helps.
Thanks,
Damian
PRISM(这是主页)。以下是有关其提供的一些信息。以下是微软对此的说。
PRISM (this is the mainpage). Here is some information about what it offers. Here is what Microsoft has to say about it.
只是一个简短的旁注,我知道这并不能回答你的问题等等。
有人(Josh Smith)曾经说过MVVM与IoC无关;因此,在我看来,任何强制您使用特定 IoC 框架的 MVVM 框架都是错误的。
此外,可测试性是 MVVM 固有的,但前提是您相应地构建模型和视图模型。所以 MVVM 框架不应该限制这一点,这完全取决于你。
Just a quick side note, I know this doesn't answer your question and so on.
Someone (Josh Smith) once said that MVVM has nothing to do with IoC; so any MVVM framework that forces you to use a specific IoC framework does something wrong in my opinion.
Also, testability is innate to MVVM but only if you do your job of structuring your Model and ViewModel accordingly. So a MVVM framework should never restrict this, it's all up to you.