[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Object Publishing

webmaster at zope.org webmaster at zope.org
Sat Aug 16 13:29:38 EDT 2003


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZDG/current/ObjectPublishing.stx#4-11

---------------

        First the publisher attempts to call the traversal hook
        method, '__bobo_traverse__'. If the current object has this
        method it is called with the request and the current path
        element. The method should return the next object or 'None' to
        indicate that a next object can't be found. You can also
        return a tuple of objects from '__bobo_traverse__' indicating
        a sequence of sub-objects. This allows you to add additional
        parent objects into the request. This is almost never
        necessary.

          % Anonymous User - Jan. 11, 2002 10:43 am - typo? method, --> method  maurer mentions also "__before_publishing_traverse__".

          % Anonymous User - June 4, 2002 11:10 am:
           It might be nice to have a footnote briefly describing where "bobo" came from.  Storks don't count.

          % Anonymous User - July 12, 2002 2:50 pm:
           It might be nicer to get rid of the "bobo" name altogether, why can't this be called __traverse__ ? Probably
           too much legacy code out there.

          % Anonymous User - Aug. 16, 2003 12:29 pm:
           Storks do count. Or at least research indicates that they possess the ability - although only up to '2'.



More information about the ZDP mailing list