software master at the intersection of technology, science and art

home

download

mvc concepts


MVC is a pattern which implements the separation of concerns Smalltalk utilized the MVC model in the late 1980s.The history of this paradigm is long - please see the references for details. ASP.NET MVC and Ruby on Rails are major development systems using this paradigm,


I am discussing the ASP.NET implementation of MVC - MVC 5.2. The pattern isolates "domain logic" from the user interface - permitting independent development, testing and maintenance - i.e. separation of concerns(SOC). A model represents the state of a particular aspect of the application. Frequently, a model maps to a database/ business object schema representing the state of the application. A controller handles interactions and calls teh model to updates a change in state, and then passes information to the view which is returned to the user. This is a implementation of The Presetnation Design. A view accepts necessary information from the controller and renders a user interface to display it.


MVC routing enbles the definition of endpoints (usually URLs) that map and invoke the published methods of the MVC controller

MVC is also the base concept for REST applications