Dwoo Downloads

2008-10-24 - Version : 1.0.0

2008-09-08 - Version : 1.0.0beta


Version : 0.9.3, released on 2008-08-03

License : GNU Lesser General Public License

Changelog

+ Adapters: Added the ZendFramework interface for Dwoo (see /Dwoo/Adapters/ZendFramework/README)
+ Plugins: Added the {a} block plugin to generate <a> tags
+ Syntax: Added the ";" token that allows to group multiple instructions in one single template tag, example: {if $foo; "> $foo";$bar;/} is equal to: {if $foo}> {$foo}{$bar}{/} - This also allow block operations such as: {a http://url.com; "Text" /} which equals to {a http://url.com}Text{/}
+ Syntax: Block plugins that you want to call without content can be self-closed just like XML tags (e.g. {a "http://url.com" /} ). Be careful not to close a non-block plugin like that however, since it will close it's parent block
+ Syntax: Static methods can be called using {Class::method()}
+ Syntax: It is now possible to use a plugin's result as an object and call a method or read a property from it, i.e. {fetchObject()->doStuff()}
+ API: Added Dwoo_Plugin::paramsToAttributes() utility function to help with the creation of compilable xml/html-related plugins, see {a} for an example
+ API: Added Dwoo->setPluginProxy() and Dwoo_IPluginProxy that allow you to hook into the compiler's plugin subsystem to provide your own plugin calls. Thanks to Denis Arh for the patch => topic
+ API: Dwoo->addPlugin() has a third parameter to mark a plugin as compilable
+ Compiler supports method calls into a method call's parameters
* Dwoo_Compiler::implode_r is now public/static so it can be used in other places such as plugin proxies
* Syntax: Math expressions in strings are now only allowed when the entire expression is delimited, e.g. {"/$foo/$bar"} evaluates as just that while {"/`$foo/$bar`"} will result in "/".($foo/$bar), therefore processing the / as a division, this is better since URLs using / are far more common than math in strings => topic
* Compiler now allows the use of the right delimiter inside strings (e.g. {"}"})
* Fixed a bug preventing if blocks containing a {elseif} followed by {else}
* Fixed the Dwoo_ILoader interface and implemented it in Dwoo_Loader now => topic
* Fixed ompileId auto-generation creating conflicts
* Include allows paths going in upper levels now such as : "../foo.html"
* Some compiler fixes regarding custom plugins

Files :

Downloaddwoo-0.9.3.tar.gz Dwoo Library

Downloaddwoo-0.9.3-docs.tar.gz API Docs


2008-06-28 - Version : 0.9.2

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