Re: building an admin tree with varying node types

From: Date: Wed, 12 Nov 2008 21:23:25 +0000
Subject: Re: building an admin tree with varying node types
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-283229@lists.php.net to get a copy of this message
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 ;)

« previous php.general (#283229) next »