docs: add mvvm architecture diagram

This commit is contained in:
Ilkka Seppälä committed 2025-03-07 20:01:26 +02:00
1 parent 4a96f2d227
commit 511f0084fa
2 files changed
+5

No files matched your search

+5
View File
@@ -42,6 +42,11 @@ Wikipedia says
> Model–view–viewmodel (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