Differences between revisions 3 and 4
Revision 3 as of 2005-01-05 05:23:19
Size: 1475
Editor: MikeRovner
Comment: usability comment about 0.4
Revision 4 as of 2005-01-11 07:30:17
Size: 1878
Editor: dsl-210-15-250-194
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
      Any
Line 31: Line 33:
CubicTemp is an attempt to make a Python templating system that is simple, powerful and well designed. 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.
Line 40: Line 42:
Actually, Cubictemp has an if-then-else structure built in - you can do if-then-else blocks simply and elegantly by declaring two named blocks, and using the if-then-else structure to decide which to substitute into the rendered page....

-- AldoCortesi

A framework for WebProgramming.

Masthead

URL

http://www.nullcube.com/software/cubictemp.html

version
0.4
licence
BSD
platforms
All
Python versions
2.2

Deployment Platforms

  • Any

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

CubicTemp is pretty elegant and easy, however I discovered several major drawbacks:

  • block structure is designed to be html comments, but is relying on python-like indentation. Former allows editing in html editors like DreamWeaver and later precludes their usage as they disrupt indentation with mixing tabs and spaces with variable tab length.

  • if-then-else blocks are missing.

-- MikeRovner DateTime(2005-01-05T05:23:17Z)

Actually, Cubictemp has an if-then-else structure built in - you can do if-then-else blocks simply and elegantly by declaring two named blocks, and using the if-then-else structure to decide which to substitute into the rendered page....

-- AldoCortesi

Hosting

CubicTemp (last edited 2014-04-16 03:16:43 by DaleAthanasias)

Unable to edit the page? See the FrontPage for instructions.