[ZODB-Dev] custom mount point container type

Jim Fulton jim at zope.com
Thu Nov 17 09:55:29 EST 2005


Please note that this is the wrong list for this discussion.
The ZODBMountPoint thing is in Zope.

I will note though that before doing anything new in this area, you
should take a look at the multi-database support in ZODB 3.5 
and later.

Jim

On Thu, 2005-11-17 at 00:58 +0100, Tarek Ziadé wrote:
> Dieter Maurer wrote:
> 
> >Tarek Ziadé wrote at 2005-11-14 17:59 +0100:
> >  
> >
> >>...
> >>I am trying to create my own mount point container type,
> >>
> >>do I just have to base it on ZODBMountPoint.Mount.MountPoint,
> >>    
> >>
> >
> >"MountPoint" is not a "mount point container" but the actual mount point.
> >  
> >
> Yes but it is the root for content,
> actually ZODBMount point fakes a Folder on creation time
>  and add the mount point on the path.
> (see MountedObject.manage_addMounts)
> 
> >In what way should your new "mount point container" be different
> >from (say) a 'Folder' containing "MountPoint"s?
> >  
> >
> The use case is to let the user define a mount point for a folderish 
> portal tool.
> I'd like to transparently make that portal tool mounted elsewhere without
>  having to move it in another path. (The portal tool has other APIS than 
> a simple folder)
> 
> I'll just try out to code it, I think it should work.
> 
> Tarek
> 
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
> 
> ZODB-Dev mailing list  -  ZODB-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev
-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!        
CTO                  (540) 361-1714            http://www.python.org  
Zope Corporation     http://www.zope.com       http://www.zope.org    




More information about the ZODB-Dev mailing list