Legacy MVC
Overview
The legacy MVC Architecture.
You should note that the MVC architecture is being deprecated and is being replaced with sidecar. Until the framework is fully deprecated, modules set in backward compatibility mode will still use the MVC framework.
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 in the user interface. For Sugar, 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 the model, and which view to load for rendering the data to end users.
SugarCRM MVC Implementation
The following is a sequence diagram that highlights some of the main components involved within the Sugar MVC framework.
Topics
Displaying information to the browser.
The basic actions of a module.
An overview of the legacy MVC metadata framework.
Provides an overview of example MVC customizations.