OracleBrains.Com header image 2

Knowing MVC Design Pattern

January 12th, 2007 by Ti Kirana · No Comments

The Model-View-Controller (MVC) is a commonly used and powerful architecture for designing GUI.

The MVC design architecture was originally developed for Smalltalk, where it was originally applied to map the traditional input, processing, and output tasks to the graphical user interaction model.

MVC defines a separation of application code into three layers as follows:

Model Layer
Responsible for maintaining data.
Responsible for notifying view of changes in the data.
Responsible for processing request from controller layer to update data .

In short it represents enterprise data and the business rules that govern access to and updates of this data.

View Layer
Responsible for displaying all or a portion of the data as per request from received controller layer.
Reponsible for notifying controller layer of any user event.

Controllers Layer
Responsible for translating interactions with the view into actions to be performed by the model.

Vice versa responsible for selecting an appropriate view based on the outcome of the model actions.

Reference


Tags: Journey of a Form Developer to JDeveloper World

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment