Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Recommended modules for Parent-Child trees?

by Hero Zzyzzx (Curate)
on May 18, 2004 at 03:37 UTC ( #354169=note: print w/ replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://354169]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2015-07-30 20:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls