What is mvvm mvc?
Answer / Sajjan Singh
MVVM (Model-View-ViewModel) and MVC (Model-View-Controller) are software architectural patterns that aim to separate the development of a user interface from the business logic. However, they have some differences:nn1. MVC: In MVC, the Controller handles user input, updates the Model (data), and directs changes to the View. The View presents data to the user. Models contain the application's core data logic.nn2. MVVM: In MVVM, the ViewModel acts as an intermediary between the View and the Model. It transforms complex data from the Model into a format easily understood by the View. This separation allows for better testability and flexibility in updating the UI without directly modifying the Model.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why mvc is better than asp net?
What is the difference between viewdata and viewbag?
Why we need "Areas" in MVC?
What is the difference between corpus and corpora?
How to perform exception handling in mvc?
What is mvc route constraints?
What is mvc in programming?
How can we detect that an mvc controller is called by post or get?
What is the difference between web api and mvc routing?
What are different filters in mvc?
What is domain model in mvc?
What is mvc razor?