I've had the same issue recently and decided NOT to go with nested set.
Nested set is a great tool if you really have hierarchical data that should
be represented by a tree of unknown depth and need to input new data
anywhere in the tree.
In my case, and it seems true in your case too, I was sure
That's right, Nested Set is the way to go.
Both Propel and Doctrine support them.
Regards,
Christopher.
Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im
Auftrag von Arnold Ispan
Gesendet: Sonntag, 5. September 2010 21:31
An: symfony-users@googlegroups.com
Betreff:
Hello,
I want to make a two-tier structure of the categories in which each
item is either a parent of, or relate to one of the parents.
Example structure:
Category 1
- Subcategory 1
- Subcategory 2
- Subcategory 3
Category 2
Category 3
- Subcategory 4
- Subcategory 5
Category 4
How to implement
Hello,
Why don't use nested sets to represent this structure?
On Sun, Sep 5, 2010 at 9:39 PM, ryr ryr1...@gmail.com wrote:
Hello,
I want to make a two-tier structure of the categories in which each
item is either a parent of, or relate to one of the parents.
Example structure:
Category