![]() |
![]() |
|
Current Projects: PHP on XP Guide — NFO Viewer — Easy Reflections — Photon Storm — HotWire — FileGlider
Thursday, November 3. 2005Joe Celko's Trees and Heirarchies in SQL for SmartiesTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
FYI There's a really good article on mysql.com about nested sets in MySQL check it out here..
http://dev.mysql.com/tech-resources/articles/hierarchical-data.html
That article is superb - but why oh why does it stop at just "adding and deleting" nodes :( The most vital task, and the most complex, is actually moving a node (with or without its children) around the set, and this isn't touched upon. A crying shame.
Sometimes more than one node is changed in the hierarchy. If this is allowed, the whole set needs to be re-calculated.
#1.1.1
on
2007-05-24 22:09
The book and article both look awesome.
#2
on
2005-11-08 16:05
The author does not allow comments to this entry
|
My AS3 Blog
Photon Storm Great PHP links
C7Y PHP Podcast CorePHP is hosted by |