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.

Cheers,

Evan @ digicool & 4-am


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to