[Zope] How do I enter data into ZODB?

Chris Withers lists at simplistix.co.uk
Tue Mar 16 04:30:39 EST 2004


Troy Farrell wrote:

> Greetings Clifford.  To create custom objects, look into writing what we 
> call Zope Products (see the Zope Book.)  These are python (and some DTML 
> or ZPT) on the file system which are installed in the Products directory 
> (sometimes $ZOPEDIR/lib/python/Products.)

...well, either that or you can just use File or ZPT objects, anything that 
implements the PropertyManager interface really, and then script them with soem 
Script (Python)'s...

> Some may mention something called a ZClass to you.  Ignore them for the 
> sake of maintenance.

...and you own sanity ;-)

> Your intuition about separating content from logic is good.  
> Unfortunately, Zope 2 does not _fully_ deliver on this promise.  

Sure it does. If you want to seperate logic and content, just put them in 
different ZODB folders, or go further and mount up a seperate storage for each 
of them...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope mailing list