Re: [Zopexmlmethods-devel] Override variable definitions via query string?
Brought to you by:
arielpartners,
philikon
|
From: Brent M H. <br...@ri...> - 2003-05-20 15:21:20
|
Philipp von Weitershausen wrote:
>> kw.update(REQUEST.form)
>
>
> Please correct me if I'm wrong but I don't think REQUEST.form is quite
> enough because it only contains form values. We'd need at least
> REQUEST.other, but looking at the (quite ugly) code of HTTPRequest, I'd
> say:
> form
> cookies
> environ
> other
I think that might be overkill. Just because something appears in
REQUEST doesn't make it an automatic candidate for stylesheet
parameters. There is a definite use case for REQUEST.form and I could
probably make one for REQUEST.cookies. But the others strike me as
unnecessary and even unwanted, since neither the user nor the stylesheet
creator has direct control over them.
-- Brent
-------------------------------------------------------------------------
"The programmer, like the poet, works only slightly removed from pure
thought-stuff. He builds his castles in the air, from air, creating
by exertion of the imagination. Few media of creation are so
flexible, so easy to polish and rework, so readily capable of
realizing grand conceptual structures."
-- Frederick Brooks, Jr., The Mythical Man Month
|