Code for TypeTango.com
Every page resolves to a directory in the
/pages directory (see
.htaccess). For example:
/search resolves to
index.php file does the following:
/includes/config.php, which sets up custom error handlers, the class autoloader, etc. Custom error handlers are in
- Instantiate a PageShell from
/includes/shells. This starts output buffering. When the script ends, the PageShell destructor prints the page's output between the appropriate html tags (if any).
This means interacting with the model library:
ajax.phpfiles. They use hash fragment navigation where appropriate.
/includes/facade contains classes such as