Category:Components
From XOMBO Documentation
XOMBO Platform consists of three basic component types. Each component type has its own directory and file extension.
Components
Model – Database connectivity or storage method. Usually, the DBObject master class interacts with a model object in a generic sense to achieve cross-database engine compatibility. Most developers won't have to worry about this unless they're deploying on an unsupported database engine like PostgreSQL or Oracle. Most database engines can be supplemented with Memcache to improve performance. (ex: ./model/dbconn.class.php)
View – Visual presentation that extends ViewObject, combines multiple control objects and user-submitted data into a cohesive space. (ex: ./view/template.view.php)
Control – Controller objects that represent data entries in a model. Usually you have a control object for each table in the database or each distinct record type. A control usually extends DBObject. They also hold functions related to the object they describe for manipulating and calculating values or executing a particular task.(ex: ./control/template.obj.php)
Note: You must adhere to the file naming conventions and
directories specified for each object type. You cannot have
multiple objects of the same name, even if they are of
different types (except Secure Redirectors).
Session
$Session – $Session contains information regarding the current logged in user, the user's vendor object, theme information, etc.
Daemons
CRON Scripts - Background processes that run on the server at regular intervals.
Page Render - A service responsible for rendering slow or large requests in the background while presenting the user with a loading screen.
Developer Utilities
The following developer utilities are available as Command Line Interface applications in the ./scripts folder:
- Object Builder Responsible for assisting developers in generating Control & DBObject objects and their subsequent View(s).
- Object Compiler Responsible for compiling & installing objects defined with Object Builder.
See Also
Subcategories
This category has the following 4 subcategories, out of 4 total.
C
M
S
V
Pages in category "Components"
The following 2 pages are in this category, out of 2 total.

