How do the mvp, mvc, and mvvm patterns relate? When are they appropriate?
Answer Posted / Hem Lata Sagar
MVC, MVP, and MVVM (Model-View-ViewModel) are all design patterns that aim to separate application logic from presentation. They differ in their distribution of responsibilities between the Model, View, and Controller/Presenter/ViewModel.
MVP is a more strict implementation of MVC, while MVVM is an evolution of MVC for WPF (Windows Presentation Foundation) applications that focuses on data binding and UI automation. The choice between these patterns depends on the specific requirements of the project, including the programming language, framework, and target platform.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers