[Zope-dev] Calling DTML methods from Python

Chris Withers chrisw@nipltd.com
Mon, 29 May 2000 18:05:33 +0100


Kevin Dangoor wrote:
> I believe this is in the Collector... My guess is that no one has yet
> figured out a good way to make the client and namespace be passed in
> automatically. This may not be desirable anyhow, because there may be times
> when you want to change the client... I've actually done this once or twice.

Is it just me or is there a lot of confusion between the terms
namespace, self, client, and the REQUEST object (which, unlike it's name
implies, seems to contain a lot more than stuff relating to the HTTP
request, like the RESPONSE object, for example ;-)

Perhaps this could be shaken down and then, a first for the Zope
community I believe ;-), _documented_ somewhere!!!

cheers,

Chris

PS: what is the client anyway? what exactly is in _? why is the RESPONSE
object an attribute of the REQUEST object?!