0.3.0
v0.3.0 brings improvements to autoloading, models & views and a major feature to the service container. Also written a lot of readme's which are destined to be made more concise and informative.
Changelog:
- Readme files
- Autoloader script (
autoloader.php) - Improvements to
Autoloaderclass - Minor and cosmetic improvements to
RequestandResponseclasses Responseaccepts arrays as content to be sent as JSON- Implemented
Model::toArray(),Model::toJson()and some useful interfaces - Implemented
SmartyView - Routes accept objects as default controllers
- Respond to a request directly from a
RouterusingRouter::respond - Implemented service container reflection so function or class constructor
parameters can be resolved usingContainer::callorContainer::createif
the type-hinted classes or interfaces are registered with the container