mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 08:58:26 +00:00
docs: add presentation model architecture diagram
This commit is contained in:
@@ -29,6 +29,11 @@ In plain words
|
||||
|
||||
> The Presentation Model design pattern separates the UI logic from the business logic by creating an intermediate model that represents the data and behavior of the UI independently, enhancing testability, maintainability, and flexibility.
|
||||
|
||||
Architecture diagram
|
||||
|
||||

|
||||
|
||||
|
||||
## Programmatic Example of Presentation Model Pattern in Java
|
||||
|
||||
The Presentation Model design pattern is a pattern that separates the responsibility of managing the state and behavior of the GUI in a separate model class. This model class is not tied to the view and can be used to test the GUI behavior independently of the GUI itself.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
Reference in New Issue
Block a user