Lets Have a fun with Technology.

BTemplates.com

Follow by Email

Wednesday, July 8, 2009

What is MVC (Model view Controller)



MVC is framework methodology that divides application into three components roles.
Model
View
And Controller
1.       Model
Model in MVC based application are component which maintain the state. Often this state is persisted inside a database.
2.       Views
Views in the MVC based application are the components responsible for displaying the application user interface.
3.       Controllers
Controllers in MVC based application are the components responsible for handling end user interaction, manipulating the model and ultimately choosing a view to render to display UI. In MVC view is only to displaying information it is controller that handles and response to user input and interaction.
The Basic Diagram for MVC can be given by 

0 comments:

Post a Comment