[Zope3-dev] Re: ObjectHub should change data structure

Shane Hathaway shane@zope.com
Fri, 27 Jun 2003 16:12:04 -0400


Roch=E9 Compaan wrote:
> * Shane Hathaway <shane@zope.com> [2003-06-27 20:36]:
>=20
>>There is a small number of important places where you need the parentag=
e=20
>>to be dynamic, but it would be nice to solve these some way other than=20
>>through wrapping.  By wrapping so much, we might be making the whole=20
>>application suffer to solve the needs of a few rare components.
>=20
> Don't u think the Associations we talked about makes it easy to give
> objects multiple parents?

Well, associations let you have multiple static parents cleanly, but=20
what's bugging me is the need for dynamic context.  We sometimes need to=20
keep track of the path the application took to find an object, and that=20
path may vary from the object's canonical path.  Objects may have=20
different URLs and different security restrictions depending on the path=20
taken to access them.

Shane