docs: add mvc architecture diagram

This commit is contained in:
Ilkka Seppälä
2025-03-04 21:14:30 +02:00
parent 30347328d6
commit b9938055bc
2 changed files with 5 additions and 0 deletions
+5
View File
@@ -34,6 +34,11 @@ Wikipedia says
> Modelviewcontroller (MVC) is commonly used for developing user interfaces that divide the related program logic into three interconnected elements. This is done to separate internal representations of information from the ways information is presented to and accepted from the user.
Architecture diagram
![Model-View-Controller Architecture Diagram](./etc/mvc-architecture-diagram.png)
## Programmatic Example of Model-View-Controller Pattern in Java
Consider following `GiantModel` model class that provides the health, fatigue & nourishment information.
Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB