java-design-patterns/model-view-presenter

layout, title, folder, permalink, categories, language, tags
layout title folder permalink categories language tags
pattern Model-View-Presenter model-view-presenter /patterns/model-view-presenter/ Architectural en
Decoupling

Intent

Apply a "Separation of Concerns" principle in a way that allows developers to build and test user interfaces.

Class diagram

alt text

Applicability

Use the Model-View-Presenter in any of the following situations

  • When you want to improve the "Separation of Concerns" principle in presentation logic
  • When a user interface development and testing is necessary.

Real world examples