views:

116

answers:

2

Hi, I'm looking for a good example of WPF Prism (or Composite Application Guidance) sample code that would not be as complicated as the StockTraderRI or as simple as HelloWorld but could explain all the important aspect of writing an application with Prism, preferably with database connection. Tutorials are also appreciated. I have googled a lot of results but it is hard to evaluate them as I just started and don't have that much knowledge myself. Thanks a lot!

A: 

I found this series of blog articles (by Mark J. Miller) to be an excellent practical introduction to Prism and MVVM:

http://www.developmentalmadness.com/archive/2009/10/03/mvvm-with-prism-101-ndash-part-1-the-bootstrapper.aspx

No database involved in this example, but this is really secondary to learning these patterns and frameworks.

chibacity
A: 

I have posted some time ago a modified Prism sample (from the Quickstarts). Well Defined Model: Model+ViewViewModel It provides a skeleton app, with composition and modularity aspects and also explains the separation of UI state and the role of controllers. One of the changes I did from the original sample was to convert it from Model-View-Presenter to Model-View-ViewModel.

Another great way to find samples is to download the Prism sources and look the quickstarts.

bakopanos costas