[ZPT] ZPT release 1.3 is up

Evan Simpson evan@digicool.com
Mon, 21 May 2001 15:01:10 -0400


Since there were no survey responses over the weekend, I'm going ahead with
a release based on the dozen or so responses I received last week.  They
broke down roughly as follows:

A) Add a standard 'user' variable: overwhelming "yes"
B) Add a standard 'attrs' variable: mostly "yes", a few "don't care"
C) Have a trailing slash in a path mean 'nocall': Equally split between "no"
and "don't care"
D) Eliminate path modifiers: Mostly "yes", some "don't care", one "no", and
a big "YES" from Guido
E) Eliminate 'exists:' expression type: About evenly split between "yes" and
"don't care", with one "no".

Based on this, 'user' and 'attrs' are in, path modifiers are gone, and we
have no way to spell "nocall" except for Python attribute access such as
"python:x.get" and "python:path('a/b').method".  For the moment, "exists:"
is still in, since it's the easiest way to implement "python:exists('a/b')".

Thanks to all who participated!

There is now a PageTemplateFile class, and it is used to implement the Page
Template add and edit pages.  Python expressions can use path expressions
(and other expression types) through builtin functions named after each
type, as in "python:path('x/y | a/b') + 1".

Cheers,

Evan @ digicool