negative(-11) PHP Framework Version Change Logs
This page contains logs of modifications made to the negative(-11) framework across all versions, beginning with v0.0.4-codename-Vanilla.
v0.0.5-codename-Vanilla
Critical Modifications
- Patched bug in Session_Component.
Core Modifications
- Incremented version number in (was still 0.0.1 previously!)
- Updated and extended unit test links in hello.php template.
v0.0.4-codename-Vanilla
Core Modifications
- repaired __get() method in View_Component.
- added __unset magical method in View_Component.
- added ability to for Core to disable draw when errors occur. Core controller modified to check Core paramter during draw.
- added Router::redirect() method that performs location header redirects in framework.
- Added "500 Internal Server Error" header send prior to debugger output when errors occur.
- Removed errant method parameter in Error::handler().
- Revamped Error::handler() method to improve debugger output and Exception handling.
- Added register_shutdown_function() call and attached it to Core::shutdown() method in order to allow framework handling of fatal errors.
- Moved controller execution logic out of Core::run() into its own method, Core::run_controller() and set call within run().
- Added logic to force display of template within destructor of Error_404_Controller. Modifications to error handling require this explicit override.
- Added Sub_Controller class to allow other classes to delegate actions to controllers located in subdirectories relative to themselves.
- Added byte padding to 404 template to allow custom 404 pages to override typical browser defaults.
Package Modifications
Database
- Added several new methods for manipulating query strings to Database_Assistant class.
- Added Literal_Assistant class which allows supplied string to be output directly during query binding.
- Added support for Liter_Assistant to Mysql_Component.
- Added Crud_Model for create/read/update/delete query automation for models that extend it.
- Moved existing test controllers into test folder, modified class structure to use new format.
Session
- Added garbage collection probability configuration to allow override of default PHP settings.
Validation
- Added Datetimepicker_Rule to validate timestamps used for jQuery UI datetimepicker elements. Rule can be applied in validation for other similar timestamp formats.
- Added Password_Rule for validating passwords.
- Moved existing test controllers into test folder, modified class structure to use new format.
New Packages
- Added 'security' package for handling various common security tasks.
- Added 'test' package for to provide simple unit test functionality for framework classes.