[Dbix-class] RFC: DBIx-Class-Tree

Aran Deltac aran at arandeltac.com
Mon Apr 3 17:31:46 CEST 2006


Hi all, I've been hacking away at a set of components for representing,
modifying, and traversing trees of DBIx::Class objects.  The API was
hammered out with some help from Matt and others on #dbix-class.

Before a first release is ever made I wanted to give everyone some time
to take a look at the first of the Tree modules,
DBIC:Tree::AdjacencyList and DBIC:Tree::AdjacencyList::Ordered.  I have
plans to add Nested Set type trees (and other lesser known types) and
provide a way to traverse the trees in a similar fashion as
Tree::Simple::Visitor does it.  I'm hoping to have a final API that can
be consistent across all Tree types, so you can plug-n-play Tree
components as your needs change.

So, take a peak, I figure I'll sit/hack on this another week before any
plan for a release is made.  The only way to get it is via subversion,
at:

http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class-Tree/

The docs are complete, and I believe the tests are sane.

Aran



More information about the Dbix-class mailing list