----- Original Message -----
From: "James Treworgy" <jamie@stripped>
To: <ptompkins@stripped>; "'MySQL List'" <mysql@stripped>
Sent: Friday, January 21, 2000 2:56 PM
Subject: Re: Web Chat Room using MySQL
> Suppose you have a discussion thread with x levels of response depth and
> you want to display it in a heriarchy. Suppose you want to show 20
> messages per screen, with a given heirarchy expanded or collapsed at any
> level. Your basic tree view.
> How do you:
> 1) Show the correct documents on screen, expanded or collapsed to a
> depth based on the user's previous actions
> 2) Know whether a document has children, to show an expand/collapse
> 3) Know how to position the limits of your select when people expand and
> collapse to keep resource use limited
I just sent a private mail to Phil .. I think I should have CC'ed the list.
I described a non-recursive numbering system that helps/allows you to do all
The archived message is:
This method seemed to be the concensus for the most efficient method -- at
least it is between myself and "Chas" (the original poster) a few months
Personally, I intend to use this method for a variety of uses: threaded
forums, user preferences, ala 'Catalog' type categories (www.senga.org),
the list goes on...