[Zope] RDBMS-backed ZClasses

Petru Paler ppetru@bv.ro
Tue, 13 Jul 1999 18:11:57 +0300 (EEST)


    Is it possible to have a ZClass that has some attributes in sync with
a database table ? Each instance should be a record in the database table.

Example: you have a FooClass with the a1 string , a2 and a3 integer
attributes. In the same time you have a database table: 
create table foo (
  a1 varchar(255),
  a2 integer,
  a3 integer
);

When you add a FooClass instance a row should be added to the database and
when you edit it the row should be updated. Ditto for deletion.

-Petru