[Zope] DTML vs ZTP

Paul Winkler pw_lists at slinkp.com
Sat Dec 11 16:20:50 EST 2004


On Fri, Dec 10, 2004 at 08:47:52PM -0600, Terry Hancock wrote:
> 3)For no obvious reason, ZPT replaces "context" with
>   "here".  This makes no more or less sense, but is
>   needlessly inconsistent with other Zope code (namely
>   Python scripts).   True, DTML doesn't know about
>   either one, but at least it didn't *conflict* with the
>   Python scripts.

Yeah, that's a historical wart.
FYI, you can use "context" in zope 2.7 and later.
At some point "here" will probably be deprecated.

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list