MVC is a framework pattern that splits an application logic into three different roles: Model, View and Controller.
Model: Business entity on which overall application operates.MVC does not specifically mention the Data access layer as it is encapsulated by the model.
View: User interface that renders the model into a form of interaction.
Controller: Handles the request from the view and updates the model resulting in a change in model's state.
These are the three important classes(model, view and controller) required for MVC architecture.
Asked In: Many Interviews |