root/trunk/framework/dispatcher.php
@
6409
| Revision 6409, 1.3 KB (checked in by daybreaker, 2 years ago) |
|---|
| Line | |
|---|---|
| 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 | |
| 6 | // This file... |
| 7 | // is executed AT FIRST. |
| 8 | // specifies the main workflow of Textcube 2.0. |
| 9 | |
| 10 | /* TODO: Load config.php and vital libraries. */ |
| 11 | // Redirect to setup process if there's no config.php. |
| 12 | |
| 13 | /* TODO: Unify the environment and do work-arounds. (For IIS, Apache - mod_php or fastcgi, lighttpd, and etc.) */ |
| 14 | |
| 15 | /* TODO: Parse and normalize URI. */ |
| 16 | // Structure of fancy URL: |
| 17 | // host + blog prefix + interface path + pagination info + extra arguments not in $_REQUEST |
| 18 | |
| 19 | /* TODO: Session management. */ |
| 20 | |
| 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 | |
| 34 | ?> |
Note: See TracBrowser
for help on using the browser.
