ClearSilver
From Wikipedia, the free encyclopedia
ClearSilver is an HTML template system similar to XSLT/XML written by Brandon Long and David Jeske as a C library that can be exported to Python, Perl, Java and Ruby via modules.
It provides separation between application logic and presentation code by defining a dataset having named variables. This avoids problems caused by driving business logic objects with callbacks in the templates like JSP (when improperly used), ASP. (e.g. exceptions thrown in the middle of a generated HTML element can cause invalid pages)
The naming scheme of the variables is hierarchical like a file system. This allows intuitive naming and avoids namespace collisions when the dataset applied to a template is built up from several sources.
Open Source and non-restrictive license.