Bill Manaris : Fall 2005 / CSCI 380 MVC Intro

MVC (Model-View-Controller) Intro

Model : The core of the application. This maintains the state and data that the application represents. When significant changes occur in the model, it updates all of its views

Controller : The user interface presented to the user to manipulate the application.

View : The user interface which displays information about the model to the user. Any object that needs information about the model needs to be a registered view with the model.

In Java, everything is "glued" together by a system driver class. This class creates the main GUI window, and instantiates the Model, Controller, and View objects. For example, see

File Heart.jar runs the above example.


Cristobal Baray's intro on the model-view-controller (MVC) design pattern.

(Printable View of