[Zope] Re: Calling Scripts with arguments from ZPT and XML-RPC
Max M
maxm at mxm.dk
Wed Sep 24 04:55:02 EDT 2003
darkness wrote:
> Unfortunately, no. I was really hoping that there was some implicit
> manner by which request variables (form variables) were passed to scripts
> when called via a TALES path. I was hoping to avoid "python:" paths, with
> the end goal of having no "code" in the template.
No,no,no!!!
That leads to the dark path. Explicit is better than implicit. It is so
much easier to follow the flow of data when it is stated explicitly.
Something like PHPs habbit of popping up variable in the namespace as
they magically appear in the request is evil. We have it in dtml too.
Pagetemplates are much easier to read, exactly because it is explicit
where the variables comes from.
regards Max M
More information about the Zope
mailing list