mvvm ?? mvc ?? mvp?? : mix

Topics: Prism v2 - Silverlight 3, Prism v2 - WPF 3.5
Apr 5, 2010 at 2:14 PM

can someone explain to what prism really is? there are controllers, presenters, views, models in the project.

there are tutorials on the net with title that implies that prism is mvvm. by looking at the prism application guide help file.

the controller is not in any part of the architecture diagram. so really? is prism just a pattern to build loosely coupled

app with modular approach with some mvp/mvc flavor?





Apr 7, 2010 at 4:17 PM

Hi Kevin,

Prism is not a pattern, but rather a set of guidance for developing composite applications. It consists of a series of assets, like documentation, quickstarts, and the Composite Application Library. Patterns such as MVVM, MVP and MVC can be used with Prism, as it is not specifically bound to one of them. You can find more information about Prism’s approach with such patterns in this document.

This document may clarify when the composite approach can be useful, and this one shows some of the challenges addressed by Prism.

You can also check this blog post by Damian Schenkelman and these threads:

Confirmation of understanding

Presenter vs. PresentationModel vs. ViewModel vs. Controller

I hope you find this helpful.

Guido Leandro Maliandi