[Zope] Re: [Zope-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway)doesn't want to add Products

Bill Anderson bill@noreboots.com
Tue, 05 Dec 2000 16:53:02 -0700


Shane Hathaway wrote:
> 
> On Mon, 4 Dec 2000, Bill Anderson wrote:
> 
> > Shane Hathaway wrote:
> > > Just packaged up.
> > >
> > > http://www.zope.org/Members/hathawsh/ExternalMount
> >
> > And there was almost much rejoicing.
> > It doesn't seme to want to mount the root of a Data.fs, at least
> > according to the add form. Is this by design? Were there problems with
> > mounting the root of a Data.fs, or is it just a limitation of the add
> > form?
> 
> It is by design.  If you were to mount the root of a Data.fs, you'd be
> mounting an Application object with no ID.  This would play havoc with the
> pseudo-filesystem.
> 
> The correct solution is to make it so folder objects do not contain their
> own ID (but rather determined by the parent folder) and make Application
> objects go away, replacing them with simple Folder objects.
> 
> Shane


So, what would you suggest for the following scenario?

o Site distirbuted via ZEO
o Using SiteAccess2 for virtual hosting sites under
  /vhosts/thissite /vhosts/thatsite
o each site is actually it's own full Data.fs

Under non-zeo, it's simple, use a mounted filestorage, and it works
quite well. Unfortunately, it doesn't work under zeo, for obvious
reasons. If I had time, I'd do a mountedZEOstorage, but time is too much
a precious commodity for the next few weeks/months. :/

Bill