java-design-patterns icon indicating copy to clipboard operation
java-design-patterns copied to clipboard

Add Model-View-Intent design pattern

Open JanFidor opened this issue 3 years ago • 5 comments

I noticed that while MVP, MVC and MVVM have been added, it wasn't the case for MVI. I'll be happy fix that.

JanFidor avatar Oct 23 '22 15:10 JanFidor

Thanks @JanFidor for the suggestion. Could you provide a link that explains the pattern?

iluwatar avatar Oct 23 '22 17:10 iluwatar

Sure thing @iluwatar , here are 2 of the best ones I found https://apiumacademy.com/blog/model-view-intent-pattern/ , https://www.raywenderlich.com/817602-mvi-architecture-for-android-tutorial-getting-started . The pattern was created with android in mind, so most explanations lean heavily on it with explanations. It also heavily utilizes sealed classes from kotlin, but it can still be implemented in Java and I think it's worth a mention for its focus on encapsulation.

JanFidor avatar Oct 23 '22 17:10 JanFidor

Looks great! Thanks so much for providing the links.

iluwatar avatar Oct 24 '22 16:10 iluwatar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 28 '22 12:11 stale[bot]

I assume @JanFidor is still working on it

iluwatar avatar Dec 03 '22 16:12 iluwatar