 |
| File |
Role |
Description |
sample.png |
Screen |
sample tree view |
|
Innovation Award
 July 2009
Number 8 |
Databases are often used to store records of information that are related in ways that form hierarchic trees and other types of graphs.
There are solutions to manipulate sets records that form these types of graph, like the Joe Celko's nested sets.
However, such solutions require that you have additional fields in the records to store information about the graph structures.
Using closure tables is a different approach that consists in using separate tables to store graph structural information.
This class implements an API that manages closure tables in PHP. It can be used to manage graphs of records of information created by existing PHP applications without changing the code that manages the application table records.
Manuel Lemos |
This package can be used to manage transitive closure tables (TCT) stored in a MySQL database.
It can create MySQL database tables that will store information about hierarchies of nodes stored in other database tables.
Different classes can organize nodes hierarchically by weight and depth. They can insert, delete, retrieve and sort nodes.
| Not yet rated by the users |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.