http://www.perlmonks.org?node_id=354169


in reply to Re: Recommended modules for Parent-Child trees?
in thread Recommended modules for Parent-Child trees?

Got it. Nested set trees are very, very cool. Wow! Thanks for that. The efficiency with which you could select siblings/parents/ancestors and subtrees is crazy, recursive queries always bugged me (I've implemented parent-child relationships before).

It's a bit hard to wrap my head around how to get it into code, but I can probably come up with something given the SQL in the article.

I need to figure out now if speed of execution outweighs speed of development, and figure out where I'm going to spend my time.

-Any sufficiently advanced technology is
indistinguishable from doubletalk.

My Biz

  • Comment on Re: Re: Recommended modules for Parent-Child trees?

Replies are listed 'Best First'.
Re: Re: Re: Recommended modules for Parent-Child trees?
by stvn (Monsignor) on May 18, 2004 at 13:51 UTC

      Jeez. 1996 that thing was written. Almost makes me wish I had a computer science degree. Besides complexity (like that's something to put aside) a nested set tree model really seems the way to go in my case.

      I fear my hubris is getting the best of me, but I think I'm going to be writing a new DBI-backed module. . .

      -Any sufficiently advanced technology is
      indistinguishable from doubletalk.

      My Biz