Model-View-Presenter (MVP) is a variation of the Model-View-Controller (MVC) pattern but specifically geared towards a page event model such as ASP.NET. For a bit of history, MVP was originally used as the framework of choice behind Dolphin Smalltalk. The primary differentiator of MVP is that the Presenter implements an Observer design of MVC but the basic ideas of MVC remain the same: the model stores the data, the view shows a representation of the model, and the presenter coordinates communications between the layers. MVP implements an Observer approach with respect to the fact that the Presenter interprets events and performs logic necessary to map those events to the proper commands to manipulate the model.

Model – This is be your business object / service / data or a module which has logic in it

View – This is your UI which has controls / images / text etc.

Presenter – This is an object whose only task to join View and Model.

That’s all i know about MVP now. Meanwhile you also go through the following referance links. In future i will drop more details here..

Happy Coding….!!!

More Referances

MSDN Referance

ASP.NET Supervising Controller (Model View Presenter) From Schematic To Unit Tests to Code by Phil Haack

Difference between Model-View-Presenter and Model-View-Controller

Creating a generic Model-View-Presenter framework

Referance Link #1

Structure map and Presenter  injection in MVP

Streamline Model-View-Presenter with new StructureMap feature – level 300 by Jeffrey Palermo

Model View Presenter By Billy McCafferty


Discover more from Cloud Distilled ~ Nithin Mohan

Subscribe to get the latest posts sent to your email.

By Nithin Mohan TK

Technology Enthusiast | .NET Specialist | Blogger | Gadget & Hardware Geek

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.