Mar 26, 2009 at 9:30 PM
Edited Mar 26, 2009 at 9:32 PM
As you mentioned, one of the recommended patterns for developing applications both for Silverlight and WPF is the MVVM pattern. This is because this pattern allows the maximization of the DataBinding
PresentationModel is a
synonym to MVVM or ViewModel (a
thread talks about this).
In that thread
Mariano Converti provides a link to a video, which he found useful to understand MVVM (there is a lot more information
about MVVM, including other videos on the web). Two articles recently posted in the MSDN Magazine cover MVVM in WPF/Silverlight Applications:
Model-View-ViewModel In Silverlight 2 Apps
WPF Apps With The Model-View-ViewModel Design Pattern
For an example of MVVM with Prsim-v2 you can check the
Reference Implementation. Some of the Quickstarts (like the
View Injection one) also use MVVM, so perhaps you could check them out.
article, from the Prism-v2 documentation, also talks about Presentation Model with Prism-v2.
For an example of changing the view of a “Main Region” based on clicking different menu buttons you could check
this sample application by
Erwin Van der Valk, developer of the Prism-v2 project. He shows an Outlook Style application which contemplates
this kind of scenario.
Perhaps you could find useful a related thread that talks about a similar situation (and has links to other threads and documentation that might also be of help):
ContentControl in MainRegion
Please, let me know if this helps.