Initial Commit.
It includes:
- Autoloader
-Error and Exception Handler
-Abstract logger and a FileLogger
a dummy index.php file
Initial Commit.
Pull Commit
Implemmented Observer Pattern on Model and View abstract classes.
Moved errors and log packages into a new package: logic
Created core/logic/exceptions package and RouteNotFoundException class
Created Router object. Still not working.
Renamed all .class.php files to .php files.
Included log4php library for logging. It's still not linked.
Removed Singleton Pattern from Controllers
Added Twig library.
Added AjaxOutPutter class for handling ajax responses
Added getters and setters to View and Controller classes
Implemented Registry Pattern on Config class and renamed it to Registry.php
Created Response module. It's called by a view to handle the response type abstractly
Fixed Registry Class: it now has only static methods and uses ArrayClass object to allow user to implement a chain of get and set
Deleted PageController and Ajax controllers: replaced with a variable in
Registry
Moved render method into abstract View class.
Improved FrontController logic and added an exit(); after rendering error page in goErrorPage.
Merge branch 'master' of https://github.com/Lyonard/PHPExperiments