WebBuilder2
|
[ AdvancedSearch | AreaMap ]
|
| HomePage | News | Getting Started Guide | WebBuilder2 | CurrentStateOfAffairs |
| WebBuilder2 | FeatureList | FrontController | LibraryPackages | ApplicationModules | ApplicationTemplates | Installation Instructions | ReleaseManagement |
|
|
Source: http://svn.oss.backendmedia.com/library/StageLoader.phps The purpose of the StageLoader is to determine what page to load and what modules are contained in the page. This is done by reading the necessary data from the database. It also handles making instances of the necessary modules and finally it handles calling the modules in 3 stages, hence the name StageLoader. stage1
stage2
stage3
The important bit is that every module can rewrite the configuration of the page as it was fetched from the database and thereby even have a different module handle the stage3 for example. So you could implement the following: A more straightforward use of this feature is determine the accessrights in stage1 and then determing that instead of the current page the user should see a login page. Also note that the StageLoader class is configurable in the system ini file.
This site powered by YaWiki 0.22 beta.
Add A CommentYour comment will be added immediately; please check your comments, and be nice. :-) Please use plain text only; HTML and PHP code will be converted to entities. Your email address will be obfuscated with [AT] and [DOT] after you post your comment. |
|