Open main menu

CDOT Wiki β

Changes

MVC

1,498 bytes added, 22:44, 3 April 2007
no edit summary
<h1>Model-View-Controller Design Pattern</h1>


'''Definition:''' <br>
The model-view-controller (MVC) design pattern is a pattern within a pattern. As described in Head First Design Pattern patterns that contain multiple patterns are called compound patters. Architectural or framework patterns frequently use compound pattern.

'''Friendly Definition:'''<br>
There are three important features of a MVC design pattern:
<ul>
<li>Model – the underlying data or information that is being processed</li>
<li>View – the method in which information is displayed and expressed</li>
<li>Controller – the method in which information is being processed</li>
</ul>
A book in its simplest sense organizes information into a unified collection which contains sets of rules to view and obtain information. The analogy of a book can describe what the MVC design pattern is and how it works.
<br>
The model-view-controller requires three essential components: the model, a controller, and a view; likewise a book can be organized into three components: a concept or information, materials used to read and handle the information, and finally formats and rules that communicate and expresses the information.
<br>
The information processed in a book can be the model of the MVC pattern since information is the underlying core of the book is the information that is being processed and manipulated.


== Real World Examples ==

<h1>Struts</h1>


'''Overview''' <br>

== Pattern diagram ==

== Sample code ==
1
edit