Login   Register  
PHP Classes
elePHPant
Icontem

Adjacency Model

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Peter Drinnan
Name: Peter Drinnan is available for providing paid consulting. Contact Peter Drinnan .
Packages: 3 Browse all classes by Peter Drinnan Browse all classes by
Country: Canada Canada - PHP jobs in Canada
Age: 47
All time rank: 71319 in Canada Canada
Week rank: 399 Up14 in Canada Canada Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to create and manipulate adjacency lists in MySQL.

It can perform several types of operations to store and retrieve information in a MySQL table of nodes of an adjacency list.

Currently it can: add nodes, retrieve the list of all nodes, get the children of a given node, change the parent of a node, and delete nodes.

  Classes of Peter Drinnan  >  Adjacency Model  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Adjacency Model
Base name: adjacency-model
Description: Create and manipulate adjacency lists in MySQL
Version: 1.1
PHP version: 5.0
License: BSD License
All time users: 926 users
All time rank: 3388
Week users: 4 users
Week rank: 690 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
May 2010
Number 3

Prize: One book of choice by Packt
Adjacency lists are data structures that define vertex points and edges that connect them.

This class provides a solution for manipulating and storing adjacency lists in a MySQL database.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file adjacency_demo.sql Data Sample MySQL data table structure. Can be modified.
Accessible without login Plain text file example.php Example Examples of adding, appending, renesting and deleting nodes within an adjacency list.
Plain text file adjacency.class.php Class base class with all functions required for adding, removing and renesting ordered items.

Download all files: adjacency-model.tar.gz adjacency-model.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.