开发者

what's the difference between MVVM and Prism v2

what's the difference between MVVM and prism v2 design patt开发者_JAVA技巧ern to develop SL and WPF applications?


Prism is not a design pattern, but a Library of different components; some of them can help you implementing the MVVM-pattern, for example with Commanding.


Prism is much more than MVVM, it provides a lot of features/base classes out of the box which you will have to implement yourself in your custom MVVM implementation; Prism provides a standard way of solving various problems/scenarios encountered in SL or WPF application (EventAggregator, Navigation framework, commanding etc.).

Prism is more suitable for large-scale applications which will be maintained/evolved for years by a lot of developers.

MVVM is better suited for light-weight applications which needs to be developed once and quickly. Although if you want flexibility you can develop your own MVVM framework or use available ones(like MVVM light etc.).

Also have a look at this question which I had asked about Prism -

Custom MVVM implementation Vs. PRISM

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜