Recursive categories |
[eluser]Pascal Kriete[/eluser]
I'm gonna toss in a third method that I like a lot. The materialized path model, which is good for any depth tree that has to deal with a lot of insertions (particularly leaf nodes). Select's aren't as efficient as the nested sets, but writes are not as volatile (no need to re-index half the tree). |
Messages In This Thread |
Recursive categories - by El Forum - 10-20-2008, 03:19 AM
Recursive categories - by El Forum - 10-20-2008, 06:50 AM
Recursive categories - by El Forum - 10-20-2008, 08:28 AM
Recursive categories - by El Forum - 10-20-2008, 10:02 AM
Recursive categories - by El Forum - 10-20-2008, 10:12 AM
Recursive categories - by El Forum - 10-21-2008, 09:00 PM
|