Explain the role of components presentation, abstraction and control in mvc?
Answer / Sushil Kumar Roy
In MVC, the three main components are Model, View, and Controller.
1. Presentation: The View component is responsible for displaying data to the user. It does not handle any business logic or data manipulation.
2. Abstraction: The Model represents the data and business logic of the application, providing an abstraction layer between the View and the data source.
3. Control: The Controller manages interactions between the User and the Application. It listens for user input, processes it, and interacts with the Model to manipulate or fetch data, before updating the View accordingly.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is mvc token?
What is get and post actions types?
How to render html in asp.net mvc view?
What is spring mvc model?
Explain the need of display mode in mvc?
Does mvc support session?
What is difference between mvc and mvvm?
How can we detect that an mvc controller is called by post or get?
What is strongly typed view in mvc?
Explain the possible ways to prevent xss attacks on mvc application?
What is default route in mvc?
What is the difference between "actionresult" and "viewresult" ?