Differences between revisions 13 and 14
Revision 13 as of 2003-01-30 09:57:58
Size: 2527
Editor: 217
Comment: Added Woven
Revision 14 as of 2008-11-15 14:00:36
Size: 2533
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * ["Programmatic"]  * [[Programmatic]]
Line 11: Line 11:
An interesting article which introduces other useful terminology is [http://www.perl.com/pub/a/2001/08/21/templating.html "Choosing a Templating System"]. An interesting article which introduces other useful terminology is [[http://www.perl.com/pub/a/2001/08/21/templating.html|"Choosing a Templating System"]].
Line 28: Line 28:
 * ["Cheetah"]
 * PSP (from ["Webware"])
 * ["Spyce"]
 * [[Cheetah]]
 * PSP (from [[Webware]])
 * [[Spyce]]
Line 36: Line 36:
 * DTML (Document Template Markup Language - see ["Zope"])
 * [http://www.twistedmatrix.com/documents/howto/woven Woven] (from TwistedMatrix)
 * DTML (Document Template Markup Language - see [[Zope]])
 * [[http://www.twistedmatrix.com/documents/howto/woven|Woven]] (from TwistedMatrix)
Line 39: Line 39:
 * ZPT (Zope Page Templates - see ["Zope"])  * ZPT (Zope Page Templates - see [[Zope]])
Line 44: Line 44:
 * PyMeld - StructureAnnotation and ["Programmatic"]
 * ["STML"] (from SkunkWeb) - PythonInWebPage, StructureAnnotation, and ["Programmatic"] being all equally apt (or equally inadequate)
 * PyMeld - StructureAnnotation and [[Programmatic]]
 * [[STML]] (from SkunkWeb) - PythonInWebPage, StructureAnnotation, and [[Programmatic]] being all equally apt (or equally inadequate)
Line 49: Line 49:
 * PTL (from ["Quixote"])  * PTL (from [[Quixote]])
Line 60: Line 60:
See [http://pythonjournal.cognizor.com 'Python Journal 3(1)'] a feature article See [[http://pythonjournal.cognizor.com|'Python Journal 3(1)']] a feature article

Presentation Styles

There are several different styles of presentation technology employed in the various Web application frameworks (see WebProgramming).

An interesting article which introduces other useful terminology is "Choosing a Templating System".

Syntax

In the area of syntax, several different design decisions are made alongside the above classifications, and this is often the principal reason that new template systems get invented:

Examples

Some presentation systems fall neatly into the categories above. Others are less easy to classify but have a closer association to one category than the others.

PythonInWebPage

StructureAnnotation

Hybrids

Programmatic

Notes

Feel free to add more abstract descriptions and more examples to help people decide what they are looking for!

Do you need to use full-fledged python, embedded bits of definitions but no functions -- there is a range of options depending on your problem. Sometimes there's no python in "the output page" -- as in raw documents put thru a filter. Or there may be limited amounts of embedded python -- as in YAPTU and other filters. Or python may be the matrix language, with text embedded within it. Your handler code can be anything from a substituter (using, say, regular expressions to catch things to be altered) to a mini python engine. See 'Python Journal 3(1)' a feature article that draws together several of the options above into a series on the pure-text to pure-python "dimension". See what your options are.

DataRepresentation (last edited 2013-02-04 19:54:13 by techtonik)

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