root/trunk/framework/dispatcher.php
@
6409
| Revision 6409, 1.3 KB (checked in by daybreaker, 2 years ago) |
|---|
| Rev | Line | |
|---|---|---|
| [6408] | 1 | <?php |
| 2 | /// Copyright (c) 2004-2008, Needlworks / Tatter Network Foundation | |
| 3 | /// All rights reserved. Licensed under the GPL. | |
| 4 | /// See the GNU General Public License for more details. (/doc/LICENSE, /doc/COPYRIGHT) | |
| 5 | ||
| [6409] | 6 | // This file... |
| 7 | // is executed AT FIRST. | |
| 8 | // specifies the main workflow of Textcube 2.0. | |
| [6408] | 9 | |
| [6409] | 10 | /* TODO: Load config.php and vital libraries. */ |
| 11 | // Redirect to setup process if there's no config.php. | |
| [6408] | 12 | |
| [6409] | 13 | /* TODO: Unify the environment and do work-arounds. (For IIS, Apache - mod_php or fastcgi, lighttpd, and etc.) */ |
| [6408] | 14 | |
| [6409] | 15 | /* TODO: Parse and normalize URI. */ |
| 16 | // Structure of fancy URL: | |
| 17 | // host + blog prefix + interface path + pagination info + extra arguments not in $_REQUEST | |
| [6408] | 18 | |
| [6409] | 19 | /* TODO: Session management. */ |
| [6408] | 20 | |
| [6409] | 21 | /* TODO: Special pre-handlers. (favicon.ico, index.gif) */ |
| 22 | ||
| 23 | /* TODO: Load more libraries depending on handler types. (outside, admin, feeder, ...) */ | |
| 24 | // integrate includeForBlog.php, includeForBlogOwner.php, includeForFeeder.php, etc. here. | |
| 25 | ||
| 26 | /* TODO: Load final interface handler. */ | |
| 27 | // Check existence of interface path. | |
| 28 | // Each interface... | |
| 29 | // validates passed arguments through IV. | |
| 30 | // specify required ACL/permissions and check them. | |
| 31 | // loads its necessary libraries, models and components. | |
| 32 | // before actual execution. | |
| 33 | ||
| [6408] | 34 | ?> |
Note: See TracBrowser
for help on using the browser.
