[Zope] Design Help

Kenneth Ellested ke@younameit.dk
Tue, 20 Mar 2001 10:15:25 +0100


I'm trying to design some classes in Zope based on a SQL scheme.

[Table] Product
ProductID: Integer
Description: String

[Table]: Attributes
AttributeID: Integer
Description: String

[Table]: AttributeValues
ProductID: Integer
AttributeID: Integer
Value: String

Which should produce a layout like:

		Product1	Product2	Product3	Product X
Attribute1	Value		Value		Value		Value
Attribute2	Value		Value		Value		Value
Attribute3	Value		Value		Value		Value
AttributeX	Value		Value		Value		Value

How do I implement this as Zope Classes. The data is mostly static, and
theres only a few changes to the attributes over time.

Regards