| [ Web Proxy ] |
| Viewing: https://wiki.python.org/moin/../python/platforms/../../python/gui/../archive/GIS/../CubicTemp.html | [Back] [Original] |
Legacy Wiki Page
This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.
A small, elegant templating engine.
2.0
BSD
All
2.4+
Any
<select>
<!--(for option in optionList)-->
<option @!if (option[1]) then "selected" else ""!@>
@!option[0]!@
</option>
<!--(end)-->
</select>
CubicTemp should be used in association with a good web framework. It is small and simple enough to be modified on a per-project basis.
A back ported version of CubicTemp is available from my page AshishShrestha. This works with Jython 2.1 This allows it to be used with servlet engines like Tomcat. I think the simplicity of CubicTemp and ease of Jython is a cool combination for web development.
CubicTemp is an attempt to make a Python templating system that is simple, powerful and well designed. Cubictemp also has built-in protection against cross-site-scripting attac, a very common class of web application vulnerability.
2026, Python Software Foundation
Made with Sphinx and Shibuya theme.
| Web Proxy Viewer | New URL | Original Page |