[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Using Basic Zope Objects

webmaster at zope.org webmaster at zope.org
Fri Jun 4 05:44:54 EDT 2004

A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/BasicObject.stx#3-66


      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".

        % pratyush - June 4, 2004 5:44 am:
         I tried to "add" SalesEM, but got the following error:
          The specified module, SalesEM, couldn't be found. (Also, an error occurred while attempting to render the
          standard error message.)
         it is better to gie a live example for ZOPE 2.6 edition so plz do so ...........1!

More information about the ZDP mailing list