[Zope-CMF] Re: Re: [Plone-users] Date based snapshots

Toby Dickenson tdickenson at geminidataloggers.com
Thu May 6 07:33:05 EDT 2004


On Thursday 06 May 2004 11:56, Chris Withers wrote:
> Toby Dickenson wrote:
> > DirectoryStorage has the capability of storing extra history for specific
> > classes, designed for exactly this purpose. If you are not tied to
> > FileStorage check out http://dirstorage.sourceforge.net/keepclass.html
>
> Damn, yet another reason why I'd like to move to DirectoryStorage :-S
>
> What's stopping DS working on Windows?

1. Getting off the ground should be easy. There is a low level filesystem 
abstraction that will need to be implemented using NTFS semantics. For an 
interface definition see:
http://cvs.sourceforge.net/viewcvs.py/dirstorage/DirectoryStorage/BaseFilesystem.py?rev=1.14&view=auto

For an example implementation using a posix filesystem see:
http://cvs.sourceforge.net/viewcvs.py/dirstorage/DirectoryStorage/PosixFilesystem.py?rev=1.23&view=auto

(in principal this doesnt need to be implemented using files and 
directories..... If anyone ever have a hard "data must be stored in oracle", 
or "data must be in COM structured storage" requirement then this route is 
likely easier than writing a storage from scratch :-)

2. Some of the peripheral tools might make some light unix assumptions, but Im 
sure they are all fixable except.....

3. The replication tool is unix-heavy. it uses fork and exec. 

-- 
Toby Dickenson




More information about the Zope-CMF mailing list