Re: Implementing an ordered tree

Arturo Perez <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
Karoly Szantai wrote:
> Hello,
>
> I have a Category entity. Each Category has zero or more 
> subcategories, which are ordered. There is a root Category (called 
> main category) which has no parent.
There's a guy named Joe Celko who has a bunch of suggestions on how to 
do trees in relational databases.  You may want to take a look at his 
algorithms.

Other than that, is the ordering a user-ordering or a tree-ordering?  
That is, is the order for organizing the display or some characteristic 
of the tree?

-arturo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.