Jaffal
Jaffal

Reputation: 21

what's the difference between MVVM and Prism v2

what's the difference between MVVM and prism v2 design pattern to develop SL and WPF applications?

Upvotes: 1

Views: 2399

Answers (2)

akjoshi
akjoshi

Reputation: 15772

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

Upvotes: 1

gammelgul
gammelgul

Reputation: 3460

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.

Upvotes: 8

Related Questions