[Zope-dev] Using Zope for Groupware/Messaging applications

Michael R. Bernstein webmaven@lvcm.com
Sun, 18 Feb 2001 08:25:12 -0800


"R. David Murray" wrote:
> 
> This means you can do things like
> have (my example) a Paradox database of books, authors, and a
> books-to-authors map, and have Author and Book objects in the system
> such that a Book has a list of its Author objects and the Author
> has a list of its Book objects, all in about 20 lines of ZSQL and
> skinscript.  Plus I have a 'long description' field that comes from
> another database table, and thumbnail and full sized images that
> are stored in Image objects in the ZODB.  All this stuff is seemlessly
> assembled into Author and Book objects by, like I said, about
> 20 lines of the skinscript and zsql.

How are you entering the data into the system? Specifically,
how are you *normalizing* the Author and book information?

I'm working on a ZPatterns based book cataloging
application, and right now I'm storing 'Book' objects with
the author names as a 'lines' property in the ZClass.

I'd like to change this so 'Author' objects are created and
stored in their own Specialist when a book is added, but I'm
not sure how.

Thanks,

Michael Bernstein.