Dwoo Downloads
2008-10-24 - Version : 1.0.0
2008-09-08 - Version : 1.0.0beta
2008-08-03 - Version : 0.9.3
Version : 0.9.2, released on 2008-06-28
License : GNU Lesser General Public License
Changelog
! BC Break: Renamed the {strip} modifier/function to {whitespace}, this does not affect the strip block, that has been moved off the compiler into a plugin. Which is why the name conflict had to be resolved. Please report any issue you might encounter when using the strip block
! BC Break: Changed the function signature of Dwoo_Block_Plugin::postProcessing it only affects you if you had any custom block plugins, see UPGRADE_NOTES for more details
! BC Break: Dwoo_ITemplate::cache() must now return the cached file name or false if caching failed, only affects you if you had a custom template class and implemented cache() yourself
! BC Break: Dwoo_Loader is not static anymore so anything you did on it directly will break. Use $dwoo->getLoader()->addDirectory() instead of Dwoo_Loader::addDirectory() for example
! BC Break: DWOO_COMPILE_DIRECTORY and DWOO_CACHE_DIRECTORY are gone, set those paths in Dwoo's constructor (i.e. new Dwoo('compiledir', 'cachedir')) if you need to override the default ones
+ Plugins: Added {dynamic} that allows cached templates to have dynamic (non-cached) parts, when rendering a cached page, the dynamic parts can still use the variables you provides
+ Plugins: Added {tif} that acts as a ternary if / allows you to use a ternary operator inside it
+ API: Added a Dwoo_ILoader interface if you want to provide a custom plugin loading solution (use $dwoo->setLoader($myLoader))
+ Added line numbers in compilation errors and improved several error messages
+ Added magic object-access methods to Dwoo_Data, so you can assign values by doing $data->var = $val; instead of $data->assign('var', $val);
+ Added get()/unassign()/isAssigned() methods to read, remove and check for the presence of a var inside a Dwoo_Data object
* Plugins: added a fifth 'string $implode' parameter to {foreach}, it prints whatever you provide it between each item of the foreach, just like implode()
* Plugins: added a fourth 'bool $case_sensitive' parameter to {replace}
* Plugins: added a fourth 'bool $trim' parameter to {capture} that trims the captured text
* Made the dependency on the hash extension optional
* Fixed compiler bug that prevented method calls combined with named parameters
* Fixed compiler bug that prevented the % shortcut for constants to work within function calls (basically it only worked as {%CONST})
* Fixed compiler bug that prevented empty() to be called
* Fixed several modifier parsing bugs => topic
* Fixed empty string parsing in modifier applied to variables
* Fixed compiler handling of <?php echo "foo" ?>{template_tag} where there was no ';' at the end of the php tag
* Allowed method calls to work within named parameters
* Removed checks for methods/properties being present on objects before calling them since these can be handled by __get() and __call() => topic
* Calling {func (params)} (with the space between function and params) is now allowed => topic
* The compiler now allows \r, \n and \t to be parameter splitters as well as "," and " ". You can therefore split complex function calls on multiple lines
* Converted most of the code to follow PEAR Coding Standards, hopefully this didn't break anything that the tests missed
* A few other minor or internal changes
Files :
dwoo-0.9.2.tar.gz Dwoo Library
dwoo-0.9.2-docs.tar.gz API Docs
2008-05-30 - Version : 0.9.1
2008-05-10 - Version : 0.9.0
2008-04-09 - Version : 0.3.4
2008-03-19 - Version : 0.3.3
2008-03-09 - Version : 0.3.2
2008-03-05 - Version : 0.3.1
2008-03-02 - Version : 0.3.0
2008-02-19 - Version : 0.2.1
2008-02-14 - Version : 0.2.0
2008-02-08 - Version : 0.1.0