Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Chris Withers
Terry Kerr wrote: > > Where would the object aquire its attributes from? Would it try one of its > folders, then the other? Which order would it choose? Now that's a very good question ;-) Probably from the folder you referenced it from and then normal acquisition from then on... cheers, Ch

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Steve Alexander
Oleg Broytmann wrote: > > On Mon, 17 Jul 2000, Chris Withers wrote: > > How does it work in Unix? (that seems to be a good baseline :-) > >On UNIX symlink is not a link - it is a text file, that contains a name > of resource. The name could points to nowhere, or to resource, even to > other

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Oleg Broytmann
On Mon, 17 Jul 2000, Chris Withers wrote: > How does it work in Unix? (that seems to be a good baseline :-) On UNIX symlink is not a link - it is a text file, that contains a name of resource. The name could points to nowhere, or to resource, even to other symlink... Oleg.(All opi

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Chris Withers
Shane Hathaway wrote: > > Can you see any weirdities that might occur from having an object as an > > attribute of more than one object manager / folder? > > The recursion problem, for one. Hmmm, how much of Zope would need changing to use the visitor interface? > Also, if you change the obje

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Shane Hathaway
Chris Withers wrote: > > Shane Hathaway wrote: > > This could be part of a "visitor" interface I've been pondering in the > > back of my mind. It would be capable of traversing, performing an > > arbitrary function, and never falling into a recursive trap. > > Cool :-) > > Let me know when it'

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Chris Withers
Shane Hathaway wrote: > This could be part of a "visitor" interface I've been pondering in the > back of my mind. It would be capable of traversing, performing an > arbitrary function, and never falling into a recursive trap. Cool :-) Let me know when it's available :-) Can you see any weirdit

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Shane Hathaway
Chris Withers wrote: > > Oleg Broytmann wrote: > >Hardlinks are prohibited on directories; and 5 minutes ago you said all > > objects are foldersih :) > > I'm not sure if my statement applies in this situation... ;-) > > >Hardlinks are prohibited on directories because it'd cause infini

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Chris Withers
Oleg Broytmann wrote: >Hardlinks are prohibited on directories; and 5 minutes ago you said all > objects are foldersih :) I'm not sure if my statement applies in this situation... ;-) >Hardlinks are prohibited on directories because it'd cause infinite > loops on traversing. Hmm, would

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Oleg Broytmann
On Mon, 17 Jul 2000, Chris Withers wrote: > Is there any reason why an object cannot be contained in more than one > Folder in the ZODB? > > Apparently what I'm talking about is very similar to hard linking in > UNIX... Hardlinks are prohibited on directories; and 5 minutes ago you said all o

[Zope-dev] Multi-homed objects?

2000-07-17 Thread Chris Withers
Is there any reason why an object cannot be contained in more than one Folder in the ZODB? Apparently what I'm talking about is very similar to hard linking in UNIX... I can't think of any reasons why this would be bad but I can't think how to implement an 'Add hard link to this object' function