Dwoo is a PHP5 template engine which is (almost) fully compatible with Smarty templates and plugins, but is written from scratch for PHP5, and adds many features.
Main Features - v1.1.1 - February 7, 2010
- Template Inheritance, a fresh look at complex template structures, now built without includes
- Sub-template declaration within templates to allow recursive templates.
- Smarty syntax compatibility with several additions and shortcuts to speed up template writing
- Flexible plugin creation, plugins can be wrapped in classes or simple functions, they can be precompiled to optimize the load time of the template, etc.
- Scope aware engine, allowing for shorter templates
- Unicode / UTF-8 support for string manipulation functions.
- Generally faster than Smarty with variable speed improvements depending on the features used.
- E_STRICT compliant code that does not throw PHP warnings.
- Ready to use with several frameworks using the provided adapters (ZendFramework, Agavi, CakePHP, CodeIgniter)
Important Notice - SVN change
The old svn url does not work anymore since I moved the site to a new server and I now use apache with mod_dav_svn, it means you can/should now access it through normal http at http://svn.dwoo.org/
Please change your externals and use http://svn.dwoo.org/ in place of svn://dwoo.org/dwoo/. Apologies for the inconvenience.
A bit of history
Dwoo is a PHP5 Template Engine that was started in early 2008. The idea came from the fact that Smarty, a well known template engine, is getting older and older. It carries the weight of it's age, having old features that are inconsistent compared to newer ones, being written for PHP4 its Object Oriented aspect doesn't take advantage of PHP5's more advanced features in the area, etc. Hence Dwoo was born, hoping to provide a more up to date and stronger engine. So far it has proven to be faster than Smarty and it provides a compatibility layer to allow developers that have been using Smarty for years to switch their application over to Dwoo progressively. Have a look at the docs for more details or jump in and try the last release !
Bug Reports - Feature Requests
For a detailed roadmap as well as reporting bugs or request features, please see the issue tracker.
You should follow @dwoo on Twitter to get the latest news.