[Zope] New to Zope and ZODB

Kevin Dangoor kid@kendermedia.com
Tue, 12 Oct 1999 21:19:18 -0400


-----Original Message-----
From: Willie Peloquin <wpeloqui@ismi.net>
To: zope@zope.org <zope@zope.org>
Date: Tuesday, October 12, 1999 9:05 PM
Subject: [Zope] New to Zope and ZODB


>I am still a Zope newbie and I have a question for the gurus. I want to
>create a simple database with 100 or so entries, I know that I could use an
>external rdbms and polulate it an then read it via SQL. I would like to use
>ZODB rather than an external db. I have not found any documentation on
doing
>such a thing.

The basic idea with using the ZODB instead of an RDB is that you have a
collection of objects. Objects have properties (this is where you store most
of your database type of data), and can contain other objects (such as
Images, etc). You'll want to figure out what kind of objects can give you a
view of your data that you're comfortable with.

Though you'll want to play around with the basic Zope objects and get a bit
of a feel for DTML, you should check out ZClasses. They provide a relatively
simple way to create and maintain objects through the web. Use ZClasses with
ZCatalog and you can do all sorts of database-y things. You definitely don't
*have* to use SQL and a separate database if you don't want to.

The ZClasses tutorial information is now built into one of the main Zope
docs.

Kevin