What is MVC (Model View Controller) pattern?

 Posted by Raja on 4/10/2008 | Category: .NET Framework Interview questions | Views: 12764
Answer:

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

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.

For more details and its implementaion, please see
http://www.c-sharpcorner.com/UploadFile/napanchal/MVCDesign12052005035152AM/MVCDesign.aspx
http://msdn2.microsoft.com/en-us/library/ms978748.aspx
http://msdn2.microsoft.com/en-us/library/ms998540.aspx


Source: Micorsoft | Asked In: Many interviews | Alert Moderator 

Comments or Responses

Login to post response