Author Topic

Sophi Italy

Wednesday 14 May 2003 2:14:44 pm

Comment37756

I will try a clearer example (while trying to find answers in the eZ docs).

If I have objects r1, r2, r3, ...r19, r20 : Review
..and object M500 : Car
..and
... the name of M500 = "Mercedes S500"
... M500 has 9 reviews: r1, r2, ...r9
... M500 has 3 good reviews: r1, r2, r3
... M500 has 2 bad reviews: r19, r20
... M500 has the best review: r1

How should I associate the objects or values "Mercedes S500", {r1...r9}, {r1..r3}, {r19,r20}, and r1, with the "name", "reviews", "good reviews", "bad reviews", and "best review" of the object M500?

Should they not ALL be just attributes on the class Car? Why should I need different concepts (attribute, object relation, related objects, XML fields)? Even if eZ deals with them differently behind the scenes, why should they be different to the one defining Car?

Thanks.