Monday, August 12, 2013

Introduction to MVC Architecture


MVC is an architectural pattern that splits interactions between users and applications into three roles:
* Model (business logic)
* View (user interface)
* Controller (user input) 
Model 
                 The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller). 
      View
The view manages the display of information.
        Controller
The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate. 
 
o Controller contains all Controller classes.
o Models contains all Models classes.
o Views contains associated views.
o Content contains all CSS / Images / other libraries
o Script contains default scripts loaded MVC
 
 
 
 
 
 
 
 

No comments:

Post a Comment