Chapter 3 Module Framework Overview A Sugar Module consists of the following: • A Vardefs file that specifies the Sugar metadata for the database table, fields, data types, and relationships. • A SugarBean file. SugarBean, the base class for all business objects in Sugar, implements the functionality to create, retrieve, update, and delete objects in Sugar. Each module implements this base class with additional properties and methods specific to that module. • Metadata files that define the contents and layout of the Sugar screens. o ListView: lists existing records in the module. o DetailView: displays record details. o EditView: allows user to edit the record. o SubPanels: display the module's relationship with other Sugar modules. o Popups: display list of records to link to another record.
Copyright 2004-2008 SugarCRM Inc. Product License