[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Using Basic
Zope Objects
webmaster at zope.org
webmaster at zope.org
Wed Mar 24 04:33:27 EST 2004
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/BasicObject.stx#3-68
---------------
Alert readers will note that the 'id' provided by the output is
*not* the 'id' of the External Method ('SalesEM'). It is
instead the 'id' of the "containing" folder, which is named
'Sales'! This is a demonstration of the fact that External
Methods (as well as Script (Python) objects are mostly meant to
be used in the "context" of another object, which is often a
Folder. This is why they are named
"methods":ObjectOrientation.stx. Typically, you don't often
want to access information about the External Method or Script
itself; all the "interesting" information is usually kept in
other objects (like Folders). An External Method or Script
"knows about" its context and can display information about the
context without much fuss.
% Chirael - Mar. 24, 2004 4:33 am:
I think you mean, "This is a demonstration of the fact that External Methods (as well as Script (Python)
objects) are mostly meant to be used...". Note the right paren after "objects", to close the left one started
before "as well".
More information about the ZDP
mailing list