Design Patterns in PRISM

I’m confused: on the one hand, Microsoft architects and the surrounding web community support the MVVM template for creating WPF applications, but on the other hand, they use completely different design patterns in Prism templates and prisms - MVP, Presentation Model and dispatch controller! And not a single example of using pure MVVM! They don’t even talk about using MVVM in their PRISM documentation! So what to do in this situation? Can I use the MVVM pattern in PRISM applications with the same level of freedom as with the patterns listed above? I mean, will it be more complicated or not due to the (possibly) native architectural optimization for these patterns?

+3
source share
2 answers

That's right. PRISM glues parts of your composite application together, but these parts can use MVVM or any other template that you prefer (like your Shell).

+2
source

You can definitely use MVVM with Prism.

Blaine Westell of Patterns and Practices said that the next version of Prism (v4) will contain more help for the MVVM pattern. I read somewhere else that this means better MVVM support in Blend and more MVVM in the documentation.

http://blogs.msdn.com/blaine/archive/2010/01/15/prism-4-0.aspx

+1
source

Source: https://habr.com/ru/post/1729196/


All Articles