Templight
A Lightweight Templating software
TempLight is a simple but powerfull templating software written in PHP5. It offers a reduced set of functions and a templating language that enable you to generate complex text output.
TempLight was originaly written to generate HTML but could be used for XML, Javascript, CSS or any other text based format.
TempLight is a free software relesead under the GNU GPL license.
Key features
- Only three core functions : replace, iterateReplace, recursiveReplace ;
- The entire code is contained in a compact file ;
- The template language enable you to generate any kind of HTML structures, even complex nested lists ;
- The template language syntax could easily be changed if you don't want the XML-like default one ;
Caching and a i18n are planned but are not availaible now.
Download TempLight 1.0
Included : documentation and examples
Note : this software require PHP5 to run