How do the mvp, mvc, and mvvm patterns relate? When are they appropriate?
Answer / 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 |
What is filter mvc?
What are the two ways for adding constraints to a route?
Mention what is the difference between temp data, view, and view bag?
What is crud mvc?
What is the use of viewbag in mvc?
What is the meaning of razor view engine?
What is MVC, MVP and MVVM pattern?
What is mvc and its advantages?
What is model layer mvc?
What are viewmodels in mvc?
What is api controller in mvc?
Mention how can maintain session in mvc?