When to use a Presenter or a PresentationModel?

Topics: Prism v2 - WPF 3.5
Mar 5, 2010 at 5:05 AM
Edited Mar 5, 2010 at 5:24 AM


Just wondering what is the difference is between a Presenter and a PresentationModel?

In the StockTraderRI sometime a presenter is used and sometimes a presentation model is used.

The view has its data context assigned by the presenter or presentation model, so when do you use one instead of the other?










Mar 5, 2010 at 5:10 PM

Hi Joe,

You can find an explanation of these two patterns, their advantages and disadvantages in this article from the Prism documentation.

You can also check the following threads which may be of interest to you as they deal with different aspects of the subject:

I hope you find this useful.

Guido Leandro Maliandi