Monday, February 1, 2010

What is MVC pattern

Model View Controller is used to separate the interface from the business logic so as to give a better visual appearance. It helps to modularize the application to modify the identified models without affecting the data

Model - Model is responsible for representing the application specific data. Model can also be used to respond to change of its state.

View - Turns the model (data) into a desired look and feel or an interface. It is used to manage the information to be displayed.

Controller - Controller is used to control or manage the view and model deepening on the user actions like mouse clicks etc.

0 Comments: