Topics

Exponent Core Framework

Overview

Though Exponent is a fairly large system, it's framework is based on some core objects which allows it to be easily extended or customized.

Core Framework Guides

expController

expController is the basic Controller class.  It is the parent controller class for all modules in Exponent since it contains all the methods, properties, and helper functions to quickly get a module up and running.  Since each module MUST have some unique qualities to distringuish it from other modules, the expController can NOT be instantiated because it is an 'abstract' class.

...

expRecord

expRecord is the basic Model class.  It is the parent model class for all modules in Exponent since it contains all the methods, properties, and helper functions needed to quickly get a module up and running.  Since expRecord is the generic 'model' it may be used by some modules to access generic data as the module controller would determine module specific parameters.

...

Database Table Definition

The database table definition file is only used when creating or updating the table definitions (install/update tables).  It simply returns an array of table field names and types with the filename becoming the table's name.  There must be a definition file for every table in the Exponent database.  Model properties correspond to the database table's fields which are determined at runtime from the database, not the definition file.  

...

Views

Since module views are normally handled by a Designer, you can find information under the Designers menu in Modules and Views.

...