[Zope-dev] RFC: RelationAware class for relations betweenobjects

Max M maxm@mxm.dk
Thu, 01 May 2003 08:09:39 +0200


Paul Winkler wrote:

>>Making the objects hold the responsibility for the relations means that 
>>all objects has to take it into account. There is no reason for that.
>>    
>>
>
>well, *something* still has to worry about the objects moving.
>AFAICT in zope2 with mxmRelations, you either have to modify the 
>objects so the notify the relations object when they move, or 
>modify the containers to do so whenever something within them is moved.
>To me it looks like TAANSTAAFL.
>

That is right. Which is one of the reasons why an ObjectHub is a good 
idea. Currently there is no way around this in Zope 2 :-(

regards Max M