CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 01 Aug 2025 01:40:29 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100120075043
location: https://web.archive.org/web/20100120075043/https://wiki.python.org/moin/CubicTemp
server-timing: captures_list;dur=0.490165, exclusion.robots;dur=0.018699, exclusion.robots.policy;dur=0.008754, esindex;dur=0.011315, cdx.remote;dur=107.136608, LoadShardBlock;dur=592.612891, PetaboxLoader3.datanode;dur=107.279959, PetaboxLoader3.resolve;dur=380.718972
x-app-server: wwwb-app204
x-ts: 302
x-tr: 728
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app204; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 01 Aug 2025 01:40:29 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Wed, 20 Jan 2010 07:50:43 GMT
x-archive-orig-server: Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 mod_python/3.3.1 Python/2.5.2 mod_wsgi/2.5
x-archive-orig-vary: Cookie,User-Agent,Accept-Language
x-archive-orig-content-length: 10574
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 20 Jan 2010 07:50:43 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Tue, 08 Nov 2005 05:00:28 GMT", ; rel="prev memento"; datetime="Wed, 16 Dec 2009 14:12:18 GMT", ; rel="memento"; datetime="Wed, 20 Jan 2010 07:50:43 GMT", ; rel="next memento"; datetime="Mon, 22 Feb 2010 05:02:41 GMT", ; rel="last memento"; datetime="Thu, 10 Jul 2025 17:37:42 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_13_20100120030649_crawl101-c/51_13_20100120074749_crawl103.arc.gz
server-timing: captures_list;dur=0.487441, exclusion.robots;dur=0.019999, exclusion.robots.policy;dur=0.009174, esindex;dur=0.010774, cdx.remote;dur=14.004455, LoadShardBlock;dur=129.032942, PetaboxLoader3.datanode;dur=113.035500, PetaboxLoader3.resolve;dur=141.669805, load_resource;dur=150.193023
x-app-server: wwwb-app204
x-ts: 200
x-tr: 342
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
CubicTemp - PythonInfo Wiki
A small, elegant templating engine.
Masthead
- URL
- version
- 2.0
- licence
- BSD
- platforms
- All
- Python versions
- 2.5
Deployment Platforms
- Any
Sample
<select> <!--(for option in optionList)--> <option @!if (option[1]) then "selected" else ""!@> @!option[0]!@ </option> <!--(end)--> </select>
Suitability
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.
Development Interfaces
Environment Access
Session, Identification and Authentication
Persistence Support
Presentation Support
InTheirOwnWords
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.
Comments
Hosting
EditText (last edited 2008-11-15 14:00:59 by localhost)