Php Create Nested Sets Function Class Tutorial
php create nested sets function class tutorial
php, create, nested, sets, function, class, tutorial
Php Create Nested Sets Function Class Tutorial
Post Description: php create nested sets function class tutorial
POST# 452
Posted On: Fri Feb 29, 2008 12:01 pm
lucas
Topic: Php Create Nested Sets Function Class Tutorial
i want to learn how to create nested sets in php. i have a menu i want to make and have categories and subcategories.

how do i do that?



Mon Feb 11, 2008 6:15 pm
1
hostman
Reply #1041
if i were you, you can download

Joe Celko Nested Sets

http://www.phpclasses.org/browse/package/1374.html


This class is meant to manage tree database structure using Jeo Celko's nested sets approach.

You can add node with 7 queries, delete a node with subnodes with 4 queries and move node with 11 queries.

The number of queries per action does not depend on the number of sub-nodes, so it is a scalable solution.

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload