Table of Contents Previous Next

Sugar Developer Guide

Version 5.1


Chapter 3 Module Framework : User Interface Framework : Model-View-Controller (MVC) Overview

Model-View-Controller (MVC) Overview
A model-view-controller, or MVC, is a design philosophy that creates a distinct separation between business-logic and display logic.
Model - This is the data object built by the business/application logic needed to present at the user interface. For SugarCRM it is represented by the SugarBean and all subclasses of the SugarBean.
View - This is the display layer which is responsible for rendering data from the Model to the end user.
Controller - This is the layer that handles user events such as "Save" and determines what business logic actions to take to build model, and what view to load to render the data to the end user.
For more details on the MVC software design pattern, see the Wikipedia definition.

Table of Contents Previous Next

Copyright 2004-2008 SugarCRM Inc.
Product License