Author Topic

Marco Zinn

Thursday 08 May 2003 11:25:08 am

Comment37753

I think, the "related object" concept is what you need here.
You will have your reviews somewhere (objects of class "Review"). Then you would create your "car" object and add the corresponding objects with "Related objects".
You can then insert the "related objects" somewhere in your car object (in some XML field), each at it's own, individual position in the text.
This will display the "line" view of each review object. The "line" display usually display a simple text line (ie. the title of the review) with a HTML link to the review.

This is a "freeform" approach to it, you need to insert the related objects manually.
When you have some more structure (ie. one review is exactly for one car object), you might consider storing the review object as "children" (kind of "sub-objects") of the car object. Thus, you should be able to display the full car-object with the line-view of the children objects automatically.
I hope, some others will comment on this and agree (or prove me wrong).

Marco
http://www.hyperroad-design.com