RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Monday, July 5, 2010

MVC Design Pattern

Originated from Smalltalk, MVC stands for Model-View-Controller.


Denotes the data objects, model comprises of everything that's being modified and presented to the user.


View is the screen representation of the model. The current state of the data objects is presented using this object.


Controller defines the way the User Interface reacts o the input given by the user. the data objects (Model) is manipulated using the Controller component.

Benefits of using the MVC:

Reliability(Clear seperation between the presentation and transaction layers)

High reuse and Adaptability(Multiple types of views can be used with the same server-side code)

Very low development and life Cycle costs:(Even low level programmers can develop and maintain the UI)

Rapid Deployment:(Development time can be reduced as UI designers focus)