I try to understand the main differences between MVC / MVP and MVVM patterns. I found these 3 diagrams but I'm not sure to understand them. Coul you help me and explain me what is the legend of the dashed line and continuous line.
MVC (Model — View — Controller), MVP (Model — View — Presenter), and MVVM (Model — View — ViewModel) is the most popular and industry-recognized android architecture pattern among developers.
MVC(Model View Controller) MVP(Model View Presenter. One of the oldest software architecture. Developed as the second iteration of software architecture which is advance from MVC. UI(View) and data-access mechanism(Model) are tightly coupled.
Model View Presenter (MVP) The MVP pattern is similar to the MVC pattern. It is derived from MVC pattern, wherein the controller is replaced by the presenter. This pattern divides an application into three major aspects: Model, View, and Presenter.
MVP(Model View Presenter) MVVM(Model View ViewModel) It resolves the problem of having a dependent View by using Presenter as a communication channel between Model and View. This architecture pattern is more event-driven as it uses data binding and thus makes easy separation of core business logic from the View.
Main differences between MVC and MVP (Passive view) patterns:
More details in:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With