Re: building an admin tree with varying node types

From: Date: Wed, 12 Nov 2008 21:49:49 +0000
Subject: Re: building an admin tree with varying node types
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-283230@lists.php.net to get a copy of this message
Rene Veerman wrote:
Eric Butera wrote:
I cheat and just keep the normal parentId column and regenerate the tree based on changes on that. I had spent a little bit looking at the different update/delete methods and there wasn't a lot of good information/examples as you've stated. I had found some but there were always edge cases that busted them.
Just found this; http://en.wikipedia.org/wiki/AVL_tree interesting read so far, havent found any opensource classes that implement it yet, am tempted to write one ;) java visualization of an AVL tree, this is so much fun, i dont even understand it yet and it's cool.
http://webpages.ull.es/users/jriera/Docencia/AVL/AVL%20tree%20applet.htm

« previous php.general (#283230) next »