MVC stands for Model, View, and Controller.
* Nothing but a class where you can declare all your properties.
* It is the part of the application that handles the logic for the application data.
Often model objects retrieve data (and store data) from a database.
* The model object knows about all the data that need to be displayed
* It is model who is aware about all the operations that can be applied to transform that object. It only represents the data of an application.
* Nothing but presentation page ie, (default.aspx in asp.net).
* is the parts of the application that handles the display of the data.
* Most often the views are created from the model data.
* The view object refers to the model. It uses the query methods of the model to obtain the contents and renders it. The view is not dependent on the application logic. It remains same if there is any modification in the business logic. In other words, we can say that it is the responsibility of the view’s to maintain the consistency in its presentation when the model changes.
* All the Actions to performed are declared in this controller.
* It is the part of the application that handles user interaction.
* Typically controllers read data from a view, control user input, and send input data to the model.
* Whenever the user sends a request for something then it always go through the controller. The controller is responsible for intercepting the requests from view and passes it to the model for the appropriate action. After the action has been taken on the data, the controller is responsible for directing the appropriate view to the user. In GUIs, the views and the controllers often work very closely together.
Mark as answer if satisfied...
Varun66, if this helps please login to Mark As Answer. | Alert Moderator