mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-23 18:25:24 +00:00
docs: updates to several patterns
This commit is contained in:
@@ -133,10 +133,6 @@ public class App {
|
||||
|
||||
In this setup, the `App` class creates instances of the Model, View, and Presenter. It then connects these instances, forming the MVP triad. The Presenter is given a reference to the View, and the Model is set on the Presenter. Finally, the Presenter is started, which in turn opens the View.
|
||||
|
||||
## Class diagram
|
||||
|
||||

|
||||
|
||||
## Applicability
|
||||
|
||||
Use MVP in applications where a clear [separation of concerns](https://java-design-patterns.com/principles/#separation-of-concerns) is needed between the presentation layer and the underlying business logic. It's particularly useful in client-server applications and enterprise-level applications.
|
||||
|
||||
Reference in New Issue
Block a user