Model-View-Presenter

Noun · Development

Definitions

  1. A UI architecture pattern derived from MVC in which the Presenter contains all presentation logic and updates a passive View through an interface, making the View easily swappable and the Presenter fully unit-testable without a UI framework — historically popular in Android and WinForms development.

    In plain English: A code structure where a middleman called the Presenter handles all the logic for what appears on screen, keeping the display layer simple and easy to test.

    Example: "With MVP, the View is just an interface, so we unit test all the presentation logic in the Presenter without spinning up an Activity."

Related Terms