[Zope] Re: ZDatabaseTool - does this still exist?
Dieter Maurer
dieter at handshake.de
Thu Aug 11 14:30:37 EDT 2005
michael nt milne wrote at 2005-8-11 10:01 -0400:
>It doesn't to be a relational db to be able to easily add fields
There are no tables to add fields to.
As someone else already pointed out:
Zope objects often use so called properties
as "field" emulation.
Unlike for a relational database where you
specify the fields of a table (and all rows inherit these fields),
properties are on individual objects (which are somehow like rows).
Zope has a feature where you can define properties not
for individual objects but for whole collections of them:
"ZClass"es. Adding properties to a property sheet of
a ZClass ensures that all instances of the class have
these properties (with the default value defined by the class).
--
Dieter
More information about the Zope
mailing list