views:

46

answers:

0

I have 4 one-to-many relationships in a row so that each entity essentially has a parent entity. What is the best way to do this. Heres what i have so far?

for the entities - Items -> Gallery -> Image -> Image Properties

The url for items is easy

item/list
for the gallery though it could be

item/gallery/1
for the gallery list of item 1. and so on. so for gallery 3 you could have image

gallery/images/3

And so on...

How do you guys do it?
Cheers.