a basic HTML-template engine

In my opinion, an ideal HTML-templating system may do a lot of things, it cleanly separates design and function, allows template derivation/inheritance, placeholder-elements … it does a lot of things save one: Introducing another layer of scripting, or being part of a bigger system not allowing you to use the templating system only.

templating.php is my attempt to create such a powerful yet elegent (in some way: pure) templating system, aiming to be simple and effective, no matter if you want to use it for a simple single page or an entire website.

You may have a look at /templating for a simple demonstration.