views:

327

answers:

2

Hi! I'm trying to make a model for categorizing some objects.

I already tried using django-mptt to easily retrieve related categories, and now I'm searching different solutions to find the best one.

I can't find out though what are main differences between Materialized Path, Adjacency List and Nested Set. Wikipedia didn't give me a short answer, all I know is mptt is probably Nested Set...

Can anyone explain it to me in few words ?

A: 

No idea what you're talking about but maybe these will get your geek on...

http://www.dbazine.com/oracle/or-articles/tropashko4

http://arxiv.org/ftp/cs/papers/0402/0402051.pdf

John Mee
Wow... some parts are kind of higher level mathematics, I just wanted to get information about using django-treebeard application.Anyway thanks, I think I'll stay with mptt, which works quite fine for me.
aherok
+1  A: 

The advantages/disadvantages are described in the Treebeard docs:

http://docs.tabo.pe/django-treebeard/tip/#module-treebeard.mp_tree

David