For almost five years, I've been developing a template engine called "Open Power Template". Currently, I'm finishing the completely new version of the library (2.0), rewritten from scratch and I would like to ask, what do you think about it: any suggestions about the templates, API, features, documentation etc.
Resources
- Project page with the download: http://www.invenzzia.org/en/projects/op ... r-template
- Project documentation: http://static.invenzzia.org/docs/opt/2_0/book/en/ (some minor chapters are still incomplete)
- Online code browser: http://svn.invenzzia.org/browser/OpenPo ... nches/2.0/
Shortly about the project
I've started the project as a part of another project which has been quickly cancelled. Since the beginning I tried to write a template engine that is able to hide most of the template logic implementation details under much simpler "bricks". In OPT 2.0, I've introduced a new philosophy of writing the templates: you say, what you want to have, not - how to implement it and how it is supposed to work. The template compiler does the rest, using well-defined rules of interaction between the instructions. The library has been redesigned from scratch, including the new API based on the frameworks, and true XML language as a base for the template syntax. It also contains various high-level tools, such as components (for form building), sections (true smart loops) or template inheritance. I know that many programmers are against using anything else than PHP for writing the templates, but in this project, I try to find better solutions for the issues, where PHP fails (especially, the form rendering).
The latest available version is 2.0-beta3, and by this weekend, there will appear 2.0-RC1. The library has already got a quite nice popularity in my home country, Poland, but I would like also to know your opinion both about the library and the English-language resources: what should be improved and maybe some hints, how to get with this project to a wider audience outside Poland