BackTalk to Document The Zope Book (2.6 Edition)/Creating Basic Zope Applications

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/SimpleExamples.stx#3-4

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

      For example, suppose you want to call a method named
      'viewFolder' on one of your folders. Perhaps you have many
      different 'viewFolder' objects which can be used as methods,
      each of which represents a particular view of a folder.  Zope
      "figures out" which one you want by first looking in the folder
      which is named by the "rightmost" portion of the URL. For
      example, if you invoke the URL
      'http://localhost:8080/Invoices/July/viewFolder', and the
      "Invoices" and "July" objects are folders, the invoices object
      will be searched for a 'viewFolder' object first.  If Zope can't
      find the object there it looks for an object named 'viewFolder'
      in the folder's containing folder ('July'). If the object can't
      be found there, it goes up another level. This process continues
      until Zope finds the object or gets to the root folder. If Zope
      can't find the object in the root it gives up and raises an
      exception.

        % Anonymous User - Nov. 10, 2003 11:34 am:
         Example is described backwards - Wi\orking right-to-left the July folder is searched first, then it's
         container folder Invoices - Duke

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.