I've been directing a lot of work towards the new patTemplate version and I'm finally making some progress. Most of the old features are now supported by the new (completely revamped) engine. It already supports repetitions, condition templates, simple conditions, oddEven templates and varscopes.
Furthermore some new features have been implemented like the conditions "__first" and "__last" which may be helpful for creating lists as well as some systemvariables that can be added automatically. A quite interesting feature is the new "modulo" template type, that allows you to define a special template for every 5th entry in a list (of course this is not restricted to the 5th entry).
The most interesting change is the new structure of the package, which allows driver based readers, dumpers, filters, etc.
If you are interested in the development, you may take a look at the source in our
CVS repository [1] or download the
daily snapshot [2]. Of course you may also take part in the
feature discussion [3].
[1]
http://cvs.php-tools.net
[2]
http://snaps.php-tools.net
[3]
http://forum.php-tools.net/viewtopic.php?t=19