Ramalho wrote:
>"""
>- Containment: Search the object, then its container, then the
>container's container, and so on. Ignore objects not in this chain.
>
>- Context: Search the objects in precisely the reverse of the order in
>which they were mentioned, so "A.B.C.D" is always searched in the order
>"D", "C", "B", "A".
>
>"""
>
>But for me, A.B.C.D means that A contains B; B contains C; and C
>contains D, so I donīt see the difference from the first definition.
There's a good slide in Michel's presentation at the open source conference.
Imagine:
--------------------
| ----- --------- |
| | B | | C | |
| ----- | ----- | |
| | | D | | |
| A | ----- | |
| | | |
| --------- |
--------------------
So that "A" is a folder,
"B" is an object in "A",
"C" is a subfolder in "A",
and "D" is an object in "C".
Then "B" is acquirable by "D", or any object in "C", but "B" is not
contained in either "C" or "D".
Later,
Jerry S.
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )