Refactor the library such that we can include Ajde by simply including
'lib/Ajde/Ajde.php' and calling something like:
$app = Ajde::create();
$app->run($route);
echo $app->output();
Optionally specifying paths like so:
define('PRIVATE_DIR', 'private/');
etc.
This should make it possible to decouple Ajde from a fixed directory structure.
Also, the index.php file should not be neccesary for the Ajde core to function
properly (thus only used for shutdown and error_reporting function etc.)
Also, this means that the Ajde_Application class must not be a singleton object
anymore and Ajde::app() should be replaced in code everywhere.
Original issue reported on code.google.com by hong...@gmail.com on 19 Oct 2011 at 12:49
Original issue reported on code.google.com by
hong...@gmail.com
on 19 Oct 2011 at 12:49