Re: IMHO erroneous text passage
Thanks for the correction. I've modified the article to reflect this. Jeff
I think that there's a misinterpretable paragraph in
http://weblogs.userland.com/zopeNewbies/breadcrumbs/acquisition/Behavior
right under the 'Blizzard' image:
<quote> Zope evaluates it in the following fashion: ... Now that the warm_cabin object has been found, it asks "Do we know anything about an attribute named drink?" Since our first contextual assumption was that a blizzard was occurring, we look first in the blizzard object. Indeed, we find a drink method inside the blizzard folder. If we had not found it inside the blizzard folder, we would have then looked for it inside the warm_cabin folder, since we were looking for drink in the context of both blizzard and warm_cabin.
/quote>
That's wrong, methinks: Substitute the ubiquituous 'index_html' method for 'drink': this method (as I'm experiencing all of them) is looked up from innermost to outermost enclosing object; otherwise, a single instance of 'index_html' in the "root" folder would spoil all of Zope's niceties...
HTH & Keep On Zopeing!
-- MfG: Tom Riedl
participants (1)
-
Jeffrey N. Shelton