encyclopegia.org

Model–view–presenter

Model–view–presenter (MVP) is a derivation of the model–view–controller (MVC) architectural pattern, and is used mostly for building user interfaces.[src] In MVP, the presenter assumes the functionality of the "middle-man".[src] In MVP, all presentation logic is pushed to the presenter.[src]

Model–view–presenter (MVP) is a derivation of the model–view–controller (MVC) architectural pattern, and is used mostly for building user interfaces.[src] In MVP, the presenter assumes the functionality of the "middle-man".[src] In MVP, all presentation logic is pushed to the presenter.[src] public class Presenter : IPresenter { public Presenter(IView view) { // ...[src] } } public class View : IView { private IPresenter _presenter; public View() { _presenter = new Presenter(this); } } The degree of logic permitted in the view varies among different implementations.[src] At one extreme, the view is entirely passive, forwarding all interaction operations to the presenter.[src] In this formulation, when a user triggers an event method of the view, it does nothing but invoke a method of the presenter that has no parameters and no return value.[src] The presenter then retrieves data from the view through methods defined by the view interface.[src] Finally, the presenter operates on the model and updates the view with the results of the operation.[src] Other versions of model–view–presenter allow some latitude with respect to which class handles a particular interaction, event, or command.[src] This is often more suitable for web-based architectures, where the view, which executes on a client's browser, may be the best place to handle a particular interaction or command.[src] From a layering point of view, the presenter class might be considered as belonging to the application layer in a multilayered architecture system, but it can also be seen as a presenter layer of its own between the application layer and the user interface layer.[src] ==See also== Multitier architecture Model–view–controller Model–view–viewmodel Presenter first (software approach) ==References== ==External links== Model View Presenter Example from the GWT project.[src] Model-View-Presenter implementation thoughts at StackExchange[src]

17 sentences · 17 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Model–view–presenter." encyclopegia.org, 2026, https://encyclopegia.org/wiki/model-view-presenter. Accessed 30 November 2026.

Chicago

"Model–view–presenter." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/model-view-presenter.

APA

encyclopegia.org. (2026). Model–view–presenter. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/model-view-presenter

Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Top Model O Reality

stub · references available

Top Model of the World

stub · references available

exploded view drawing

stub · references available

view factor

stub · references available

The Parallax View

stub · references available

Breda Model 35

stub · references available

Skoda 305 mm Model 1911 howitzer

stub · references available

Lebel Model 1886 rifle

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1366321946 · 0.5 · snapshot enwiki-001366321946

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.