ClearSilver is an HTML template system similar to XSLT/XML written as a C-library that can be exported to Python, Perl, Java and Ruby via modules. In computing, HyperText Markup Language (HTML) is a markup language designed for the creation of web pages and other information viewable in a browser. ... ... The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language for creating special-purpose markup languages, capable of describing many different kinds of data. ... The C Programming Language, Brian Kernighan and Dennis Ritchie, the original edition that served for many years as an informal specification of the language The C programming language is a standardized imperative computer programming language developed in the early 1970s by Dennis Ritchie for use on the Unix operating system. ... Python is an interpreted programming language created by Guido van Rossum in 1990. ... Perl, also Practical Extraction and Report Language (a backronym, see below) is an interpreted procedural programming language designed by Larry Wall. ... Java is an object-oriented programming language developed by James Gosling and colleagues at Sun Microsystems in the early 1990s. ... Ruby is a reflective, object-oriented programming language. ...
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, ASP. (e.g. exceptions thrown in the middle of a generated HTML element can cause invalid pages) JSP or JavaServer Pages, known to some as the Java Scripting Preprocessor, is a Java technology that allows developers to dynamically generate HTML, XML or some other type of web page. ... It has been suggested that ASPX be merged into this article or section. ...
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.
More information is available on the product's website: ClearSilver.net
Clearsilver is a fast, powerful, and language-neutral template system.
The HDF is then combined with static output in the form of a Clearsilver template to produce the final output.
However, the flexible design of Clearsilver, specifically its ability to easily work with templates stored as strings, means that this purist approach is not the only use for the technology.
Clearsilver (http://www.clearsilver.net/) is a powerful and flexible HTML templating engine.
Clearsilver has its drawbacks, and after a few years of successful (but sometimes frustrating) use, the TracTeam unanimously--and enthusiastically!--decided to go for another templating engine: Genshi.
Unofficial windows builds of ClearSilver 0.9.14 are also available from http://clearsilver.yi.org/ as installers for Python 2.3 and 2.4.