Thought Programmer
MVC vs MVP vs MVVM
What’s different between them?
Nowadays we have many options when it comes to architecture design patterns. After developing many apps using Model-View- ViewModel (MVVM), Model-View-Presenter (MVP), and Model-View-Controller (MVC), I finally feel qualified to talk about the differences between them. For easier to understand, we can use a simple example like developing a screen to search books in the BookSearch App.
Let’s begin now…!
MV(X) essentials
First of all, we need to understand briefly MVC, MVP, and MVVM architecture before dive into them.
Why Model-View-(C or P or VM)?
The aim of these architectures is to separate the responsibilities of visualizing, processing, and data management for UI applications.
Their goals are to increase.
- Modularity
- Flexibility
- Testability
- Maintainability