htmltmpl
is a templating engine for Python and PHP. It is targeted to web
application developers, who want to separate program code and design
(HTML code) of their projects. Even web designers can easily learn its
simple but powerful template language. Templating language provided by
the engine is inspired by Perl templating module HTML::Template.
Templates created for HTML::Template can be used with this engine. The
primary goal is to keep things simple for a web designer who creates
the templates. Therefore, neither Python nor PHP code can be used in
the templates. Instead, it provides its own simple templating language
that supports basic programming operations like loops, conditionals and
substitution of variables. These operations are controlled from within
the templates by statements that look like HTML tags and integrate
nicely with regular HTML code. |