From: Hamish Lawson <[EMAIL PROTECTED]>
> I see that the latest version of the O'Reilly Zope book now talks about
> Python and Perl *Scripts*, but refers still to DTML and ZSQL *Methods*.
> Does this reflect some actual conceptual difference between a Script
> and a Method, or is it simply because of the burden of also renaming
> DTML, ZSQL, etc?

DTML and ZSQL Methods (and the older Python Methods) act as though they are
bound methods of the object on which they are called.  Python Scripts aren't
bound to any particular object, although they have access to their context,
their container, and their selves.  There could be a future class of DTML or
ZSQL objects that behave this way, but they would probably be better named
Templates than Scripts.


Evan @ digicool & 4-am

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to