CSC/ECE 517 Fall 2011/ch3 3g gm: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
# The smaller chunks of code which make up constituent parts of the overall program are more manageable and testable.
# The smaller chunks of code which make up constituent parts of the overall program are more manageable and testable.


[[File:ModelViewControllerDiagram2.svg]]
[[Media:http://upload.wikimedia.org/wikipedia/commons/b/b5/ModelViewControllerDiagram2.svg]]


== A Brief History ==
== A Brief History ==

Revision as of 14:29, 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:

  1. By abstracting the model from the view, multiple views can act on single model.
  2. The smaller chunks of code which make up constituent parts of the overall program are more manageable and testable.

Media:http://upload.wikimedia.org/wikipedia/commons/b/b5/ModelViewControllerDiagram2.svg

A Brief History