[Zope] content / code separation

Paul Winkler pw_lists at slinkp.com
Tue Feb 24 18:19:41 EST 2004


On Tue, Feb 24, 2004 at 01:14:50PM -0800, Declan Shanaghy wrote:
> Something is puzzling me about the way zope is designed.
> 
> With FileStorage, or DirectoryStorage code and member content is all
> stored in the same place.
> 
> How does one achieve separtion of the code from the content in order to
> facilitate easy upgrade of code?
> 
> Basically i want to do is take the Members folder out of my CMF site
> and store it somewhere else, so i can do a sitewide update of the code
> in my CMF site by copying over a new Data.fs or a new DirectoryStorage
> heirarchy  and the Members folder will be unaffected.

3 suggestions:

- Don't Do That.  Upgrade "in place". This is usually possible
  depending on what your upgrade consists of.

- Export the Member folder before upgrade, then import afterward.

- Use mounted storages. Google for DBTab.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's THE STETOSCOPE!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list