[Zope-dev] Python Script
Steve Alexander
steve@cat-box.net
Fri, 23 Feb 2001 10:15:39 +0000
Cyril Elkaim wrote:
> Hi All,
>
> I must say that I have very hard time with both Scripts and Zclass.
> My problem is the context and the container proprties of a script inside a Zclass.
>
> If I understand well the context is an URL point of view, the object accessed
> through the web.
>
> The container is fixed, it's the object in the database, OK?
>
> Now what is the container in the case of a Zclass _instance_.
In this case, container is the ZClass instance.
This is consistent with the object-oriented way of defining methods in a class definition, and using them bound to an instance of that class.
--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net