I have recently asked a question regarding a suitable data structure for a hierarchical website design. Looking at the other side, how would I achieve the following:
Parent
- Make
- Model 1
- Child 1
- Child 2
- Model 1
- Child 1
- Child 2
- Model 1
- Child 1
- Child 2
Child 1 + 2 will be the same for each model. I can represent hierarchical data using a parent/child node and recursion (Obviously not the best). Would I have to create a many to many association for each model to the repeated list or something?
Thanks!