Yverdon v0.2 Changes/Additions
Now that we’ve finally released v0.2 officially, it seems appropriate to outline the various changes and additions that were done between v0.1 and v0.2. Lots of testing and planning went into v0.2’s release, so I’ll do my best to summarize in a clear way what we have for the end result.
Bug Fixes
- Fixed bug with n2f_paginate::listPages() incorrectly listing page numbers
- Fixed bug with n2f_database::close() trying to close non-objects
- Fixed bug with n2f_events::hitEvent() throwing error from null arguments
- Corrected cache method used for dynamic template extension
- Fixed numerous bugs with MySQLi db extension (complete rewrite)
- Removed N2F stamp from showing on ?nret=data requests
- Changed dynamic template parsing method to not use short open tags
- Fixed relative path issue with n2f-enabled subdirectories
- Fixed notice thrown by recursive calls to debugEcho()
- Fixed bug with dynamic template breaking XML declarations
- Fixed logging bug with setting non-string fields for dynamic templates
- Changed failure procedure for database extension loading
New Features
- Added MySQL database extension
- Added PostgreSQL database extension
- Added SQLite database extension
- Added simple meta information system for all extensions
- Added IsSuccess() function for easily checking n2f_return objects for success/failure status
- Added notification events to template system
- Added ability to return cached object from n2f_cache::startCaching()
- Added N2F version constant (N2F_VERSION)
- Added port/sock options to database configuration
- Added n2f_database_query::addParams()
- Added OS_WINDOWS constant
- Added ‘mod.ext.php’ modular extension functionality
- Added optional arguments to n2f_database_query constructor
- Added ‘global’ skin aliases (for all themes)
- Created new dynamic argument system for template and database objects
- Added str_replace_once()
- Added FirePHP extension
- Added Memcache capabilities to n2f_cache
- Added garbage collection to n2f_cache
We’ll do what we can to cover some of the new features here in the coming weeks, as well as to start putting up some better tutorials on the Wiki for how to use the framework in general.
- Andrew