FRAD: concepts
Using FRAD you create "applications" and develop "modules".
An application is just a set of "modules", so different applications can share different modules. For instance the CMS i developed has 2 modules called "webpublic" and "webprivate"; index.php is the application that start only the "webpublic" module while admin.php start only the "webprivate" module;
Every application has its own "theme", for instance "webpublic" uses the "badpenguin.org theme" while "webprivate" uses the "admin theme".
An application is basically a PHP file that initialize the CApplication class object and load the required modules.
A module instead is just a class.
The module interacts with three areas of other objects: menues, URLs, views.
Menu system is made of a menubar with different drop-down menues with different menuitems each.
URLs are regular expresions that intercept browser page and redirect them to module specific functions.
Views are object that display and allow to manage datas.
| « previous | ↑ back |





