java-design-patterns/model-view-presenter

layout, title, folder, permalink, pumlid, categories, tags
layout title folder permalink pumlid categories tags
pattern Model-View-Presenter model-view-presenter /patterns/model-view-presenter/ ROlR3SGW3C1MkGu0-RzjKeXQJWcWFChwPO3xispvQBrmL0hbp-q-xGkWkFBL_8upZBICxjGzbo7GE1OwAlpmmLJ9sjNJH7VIRY1e6q169KvFevMcakrtI_BoD-HGoJE4Nm00 Presentation Tier
Java
Difficulty-Intermediate

Intent

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

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