docs: add mvi architecture diagram

This commit is contained in:
Ilkka Seppälä
2025-03-05 21:47:22 +02:00
parent b9938055bc
commit d36eeec52c
2 changed files with 5 additions and 0 deletions
+5
View File
@@ -37,6 +37,11 @@ In plain words
> The Model-View-Intent (MVI) pattern is a reactive architectural approach where user actions (Intent) modify the application state (Model), and the updated state is then reflected back in the user interface (View) in a unidirectional and cyclical data flow.
Architecture diagram
![Model-View-Intent Architecture Diagram](./etc/mvi-architecture-diagram.png)
## Programmatic Example of Model-View-Intent Pattern in Java
The Model-View-Intent (MVI) pattern for Java is a modern approach to structuring your application's logic, ensuring a smooth, unidirectional flow of data and events. It's a variation of the Model-View-Presenter (MVP) and Model-View-ViewModel (MVVM) patterns, but with a more streamlined flow of data and events.
Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB