What Is MVP?

TODO - write about...

Model View Presenter (MVP) is a pattern for separating the look of a web form from the logic that goes into generating that look. MVP is a close cousin of MVC (Model View Controller), and it has the following benefits for DotNetNuke module developers.

There are other benefits to MVP, of course, but these two are probably the most relevant for DotNetNuke module developers.

It is important to remember that MVP is primarily concerned with the UI (user interface) portion. The key idea here is to take the UI and separate the logic from the visual layout and the data. As such, MVP is designed around three items:

The way these three items interact generally happens in one of two forms.

For DotNetNuke module developers, the Testable DNN Module template takes a Supervising Controller approach.

Passive View vs. Supervising Controller

More on MVP

To learn more about MVP, check out the following links.