Thursday, November 19, 2015

MVC Framework Architecture


MVC Architecture

The Model-View-Controller (MVC) pattern is an architectural design principle that separates the components of a Web application. This separation gives you more control over the individual parts of the application, which lets you more easily develop, modify, and test them.  

Model : The Model's job is to represent the problem domain, maintain state & provide method for accessing & mutating the state of the application.
  • In short Models are the Objects and its the object oriented approach for design.
  • Encapsulate the data & Database as well.

View : The View's job is to translate data into a visual rendering for response to the client.
  • In short View is the Presentation Layer .
  • User see the interaction  with page -HTML,JS,CSS.

Controller: The Controller's Job is to translate incoming request into outgoing responses.
  • In short To process & response to such as user action & invoke changes to Model & View based on that & control what happen.

asp.net mvc, mvc framework, mvc example, mvc tutorial, mvc architecture, mvc interview questions


asp.net mvc, mvc framework, mvc example, mvc tutorial, mvc architecture, mvc interview questions