Added HttpException class to library, extending the Exception class.
Created class to handle the request uri string, parsing it down to
useful information.
Dispatcher class to handle instantiation of the appropriate controller.
Refactored bootstrap.php to take advantage of the new dispatcher
architecture.
Removed unnecessary debug statement now that we have remote debugging
capability!
Re-order methods.
Corrected typo.
Corrected variable name.
Added common.php with various utility function that will be used
throughout the application that do not have a place within any single
class.
Refactored bootstrap and httprequest to use the common.php.
WELL THEN
base_path should return a string, not an array.
base_path should not make path components lowercase.
There will already be a stroke in this location after the array_pop.
Correction, the stroke is needed, but after the array has been imploded.
Need to handle the possibility of a GET request.
Signed-off-by: Nigel Packer <packene@gmail.com>
Provide default controller if the url does not contain one.
Set a an app-wide exception handler to catch uncaught exceptions for
now.
Remove debug stmts.