MVC

From APIDesign

Revision as of 14:53, 4 November 2009 by JaroslavTulach (Talk | contribs)
Jump to: navigation, search

wikipedia::Model–view–controller obsoleted (modernized) by DCI.

Pattern Name

The first thing MVC stands for is name for a category of patterns that somehow separate the model from the rest. There are many things to do it, each of them suitable for different user interface. Each of such patterns however keeps model independent from the rest - e.g. model does not know anything about its presentation or business logic.

Information taken from MVC Introduction article. Thanks for such great write up!

Classical MVC

Designed in 70ties. Strictly separates view and controller. The view can for example be a printer, the controller can be a punch card reader and interpreter. Obviously separating these two is easy. Not only they are physically independent, but also the delay between producing of output and receiving input can be significant. The whole idea can be illustrated as:

Image:Mvc.png

The user reads from the view and deals directly with the controller.

Personal tools
buy