Skip to content

Commit 4a96f2d

Browse files
committed
docs: add mvp architecture diagram
1 parent d36eeec commit 4a96f2d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: model-view-presenter/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ Wikipedia says
4343

4444
> Model–view–presenter (MVP) is a derivation of the model–view–controller (MVC) architectural pattern, and is used mostly for building user interfaces. In MVP, the presenter assumes the functionality of the "middle-man". In MVP, all presentation logic is pushed to the presenter.
4545
46+
Architecture diagram
47+
48+
![Model-View-Presenter Architecture Diagram](./etc/mvp-architecture-diagram.png)
49+
50+
4651
## Programmatic Example of Model-View-Presenter Pattern in Java
4752

4853
The Model-View-Presenter (MVP) design pattern is a derivative of the well-known Model-View-Controller (MVC) pattern. It aims to separate the application's logic (Model), GUIs (View), and the way that the user's actions update the application's logic (Presenter). This separation of concerns makes the application easier to manage, extend, and test.
33.4 KB
Loading

0 commit comments

Comments
 (0)