* Fix languages * Missed change for version number * Add language field for presentation * Revert change in README for double buffer Co-authored-by: Jackie Nim <=>
29 lines
701 B
Markdown
29 lines
701 B
Markdown
---
|
|
layout: pattern
|
|
title: Model-View-Presenter
|
|
folder: model-view-presenter
|
|
permalink: /patterns/model-view-presenter/
|
|
categories: Architectural
|
|
language: en
|
|
tags:
|
|
- Decoupling
|
|
---
|
|
|
|
## Intent
|
|
Apply a "Separation of Concerns" principle in a way that allows
|
|
developers to build and test user interfaces.
|
|
|
|
## Class diagram
|
|

|
|
|
|
## 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
|
|
|
|
* [MVP4J](https://github.com/amineoualialami/mvp4j)
|