docs: add mvvm architecture diagram

This commit is contained in:
Ilkka Seppälä
2025-03-07 20:01:26 +02:00
parent 4a96f2d227
commit 511f0084fa
2 changed files with 5 additions and 0 deletions
+5
View File
@@ -42,6 +42,11 @@ Wikipedia says
> Modelviewviewmodel (MVVM) is a software architectural pattern that facilitates the separation of the development of the graphical user interface (the view) be it via a markup language or GUI code from the development of the business logic or back-end logic (the model) so that the view is not dependent on any specific model platform.
Architecture diagram
![Model-View-ViewModel Architecture Diagram](./etc/mvvm-architecture-diagram.png)
## Programmatic Example of Model-View-ViewModel Pattern in Java
ViewModel will hold the business logic and expose the data from model to View.
Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB