CSC/ECE 517 Fall 2011/ch3 3g gm: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This article describes new research in MVC. | |||
=Introduction= | =Introduction= | ||
[http://en.wikipedia.org/wiki/Model-view-controller Model View Controller (MVC)] is a compound design pattern which was first described by Trygve Reenskaug in 1979. | [http://en.wikipedia.org/wiki/Model-view-controller Model View Controller (MVC)] is a compound design pattern which was first described by Trygve Reenskaug in 1979. | ||
== MVC == | == MVC == | ||
The MVC design pattern is used to remove business logic (the model) from the user interface (the view). The purpose of this is, at least, twofold: | |||
# By abstracting the model from the view, multiple views can act on single model. | |||
# The smaller chunks of code which make up constituent parts of the overall program are more manageable and testable. | |||
[[File:ModelViewControllerDiagram2.svg]] | |||
== A Brief History == | == A Brief History == |
Revision as of 14:28, 6 October 2011
This article describes new research in MVC.
Introduction
Model View Controller (MVC) is a compound design pattern which was first described by Trygve Reenskaug in 1979.
MVC
The MVC design pattern is used to remove business logic (the model) from the user interface (the view). The purpose of this is, at least, twofold:
- By abstracting the model from the view, multiple views can act on single model.
- The smaller chunks of code which make up constituent parts of the overall program are more manageable and testable.
File:ModelViewControllerDiagram2.svg