Author Topic

Sophi Italy

Friday 09 May 2003 10:37:05 am

Comment37754

If I understand you correctly (and based on limited knowledge of eZ), you are suggesting one of two things:

a) "related object" : I can add any related objects to each Car object. But can I distinguish between them (in code, not in text) e.g. which are the favorable_reviews and unfavorable_reviews? If I were programming this in an OO language, my Car would have two separate attributes holding onto each set of review objects.

b) "child objects" : But then am I limited to a review for only one Car? i.e. a tree structure of objects?

I think both (a) and (b) are very useful. However an important case is missing: when I want to add named links (as I would do with attributes in an OOPL) to my graph of objects that are not "tree" links.

Also, could you be kind enough to point at where in the docs I might read more about "related objects" and "child objects"?

Thanks.