Re: PEARtree

From: Date: Thu, 10 May 2001 17:02:48 +0000
Subject: Re: PEARtree
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-367@lists.php.net to get a copy of this message
Jens Wolk schrieb: > More generally spoken, the business sectors are nodes of a tree and > the addresses (or any other information objects with properties) the > leaves. > > This is why I consider implementing a library for maintaining such > hierarchical information trees. It shall be PEAR compliant (not only > because it then might qualify for a really nice name: PEARtree :) > > The idea is this: 3 main classes: Tree, Tree_node and Tree_leaf - each > extending DB_storage. Tree will take care of all > modifying/adding/deleting of Tree_node and Tree_leaf objects which > belong to this particular tree. tree + DB => http://www.koehntopp.de/kris/artikel/sql-self-references/ Ask Kristian for the implementation, it's somewhere on the server. tree + PHP => Hash => Array Check also http://www.ulf-wendel.de/projekte/menu/tutorial.php. Sorry, all in german. UIf -- Neu: PEAR Cache Erweiterung OutputCompression http://www.ulf-wendel.de/php/show_source.php?file=out_cache_com http://www.phpdoc.de

« previous php.pear.dev (#367) next »