Re: [Zope] Re: [Zope-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway)doesn't want to add Products
On Tue, 5 Dec 2000, Bill Anderson wrote: > 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. :/ What do you mean it doesn't work under ZEO? Set it up just like zope.org. Either create two storage servers or one that provides access to both FileStorages. Then write an external method for each storage, each of which creates a ClientStorage and wraps a DB around it. Then mount those external methods. Thus you don't even need to write MountedZEOStorage. Shane ___ 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 )
Re: [Zope] Re: [Zope-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway)doesn't want to add Products
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 ___ 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 )
Re: [Zope] Re: [Zope-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway)doesn't want to add Products
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 ___ 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 )
Re: [Zope] Re: [Zope-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway) doesn't want to add Products
Shane Hathaway wrote: ... > > > > The Wikis folder on zope.org is now a ZEO mount. We have chosen to use > > > > the ExternalMount product we created internally. It calls an external > > > > method to open the storage and create the database. It has the > > > > flexibility advantages we need; for example it lets you move a .fs file > > > > from non-ZEO to ZEO and back without going through a long recataloging > > > > process. > > > > > > > > Anyone interested in it? > > > > > > > > Shane > > > > > > Yes please. > > > > We are also interested. =+ 'Yes Please' > > 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? Bill Anderson ___ 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 )
Re: [Zope] Re: [Zope-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway) doesn't want to add Products
Jason Cunliffe wrote: > > > Shane Hathaway wrote: > > > > > Bill Anderson wrote: > > > > > On a related note, has anyone successfully made a mounted ZEOStorage > > > > > thingum yet (mounted FileStorage for ZEO). > > > > > > The Wikis folder on zope.org is now a ZEO mount. We have chosen to use > > > the ExternalMount product we created internally. It calls an external > > > method to open the storage and create the database. It has the > > > flexibility advantages we need; for example it lets you move a .fs file > > > from non-ZEO to ZEO and back without going through a long recataloging > > > process. > > > > > > Anyone interested in it? > > > > > > Shane > > > > Yes please. > > We are also interested. =+ 'Yes Please' Just packaged up. http://www.zope.org/Members/hathawsh/ExternalMount Shane ___ 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 )
[Zope] Re: [Zope-ZEO] Zope 2.2.4 ZEO 0.4.1 (latest anyway) doesn't want to add Products
> Shane Hathaway wrote: > > > Bill Anderson wrote: > > > > On a related note, has anyone successfully made a mounted ZEOStorage > > > > thingum yet (mounted FileStorage for ZEO). > > > > The Wikis folder on zope.org is now a ZEO mount. We have chosen to use > > the ExternalMount product we created internally. It calls an external > > method to open the storage and create the database. It has the > > flexibility advantages we need; for example it lets you move a .fs file > > from non-ZEO to ZEO and back without going through a long recataloging > > process. > > > > Anyone interested in it? > > > > Shane > > Yes please. We are also interested. =+ 'Yes Please' - Jason _ Jason Cunliffe = Nomadics['Zmaps'].design ___ 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 )