65.9K
CodeProject is changing. Read more.
Home

MVP Pattern

starIconstarIconstarIconstarIconstarIcon

5.00/5 (4 votes)

Oct 11, 2013

CPOL
viewsIcon

41586

MVP (Model View Presenter) FrameworkThe MVP pattern is an Architecture Pattern used to build ASP.net applications.  It refers to splitting up the

MVP (Model View Presenter) Framework

The MVP pattern is an Architecture Pattern used to build ASP.net applications.  It refers to splitting up the responsibilities for gathering, displaying, and storing data from a web page into separate objects: a Model object, a View object, and a Presenter object.  The View is often an interface which is then implemented by an ASP.net web page; the Model is a business object.  The Presenter negotiates the transfer of data between the other two objects.  The MVP pattern descends from the Model View Controller pattern that was originally described in Smalltalk.

The advantage of having the View be an interface is that it can be implemented by many different presentation models other than a web page, such as a Fitnesse page, an NUnit mock class, or a Windows application.

Tutorials

 Articles

 Videos