First Release of PHP Template Inheritance, a free little templating Hack
"PHP Template Inheritance" consists of a handful of functions which allow child templates
to inherit common structure from base templates. Multiple levels of inheritance
are possible.
The inspiration for this project was Django's template inheritance mechanism: http://docs.djangoproject.com/en/dev/topics/templates/#template-inheritance
Features:
* Straight PHP4
* < 60 lines of code (without comments)
* Templates are PHP files, too, so you can do (almost) whatever you want there
Visit http://phpinheritance.sourceforge.net/ and read up for more details.
It's very flexible but also very rough around the corners at the moment.
This project is meant to galvanize ideas on how a system like this could work, it's
possible that the concept might change over time, so if you're interested, your
opinions and ideas are very welcome at the PHP Template Inheritance Forums: http://sourceforge.net/forum/?group_id=239518 .
Right now there is a chance to immortalize yourselves: PHP Template Inheritance is
questioning the naming of its handful of functions. If you want to join the discussion
go here: http://sourceforge.net/forum/forum.php?thread_id=2993344&forum_id=866533 and let yourself be heard.