Release 0.03001
[dbsrgits/DBIx-Class-Tree.git] / lib / DBIx / Class / Tree.pm
CommitLineData
6e2766f2 1package DBIx::Class::Tree;
bb17efa0 2# vim: ts=8:sw=4:sts=4:et
6e2766f2 3
4use strict;
5use warnings;
6
6e2766f2 7use base qw( DBIx::Class );
8
5e44a0c6 9our $VERSION = '0.03001';
6e2766f2 10
111;
82958127 12__END__
13
14=head1 NAME
15
af9120b0 16DBIx::Class::Tree - Manipulate and anaylze tree structured data.
82958127 17
82958127 18=head1 DESCRIPTION
19
5e44a0c6 20The tree modules provide the tools to represent, modify, and analyze
9d3d72a3 21trees of data with DBIx::Class.
22
23=head1 COMPONENTS
24
5e44a0c6 25L<DBIx::Class::Tree::AdjacencyList> - Manage a tree of data using the
af9120b0 26common adjacency list model.
74d97bdc 27
5e44a0c6 28L<DBIx::Class::Tree::AdjacencyList::Ordered> - Glue DBIx::Class::Ordered
af9120b0 29and DBIx::Class::Tree::AdjacencyList together.
74d97bdc 30
31=head1 DAG
32
5e44a0c6 33All tree related modules must conform to have and use the basic traversal
34methods of a DAG. For the most part this just means that Tree modules
35must provide the appearance of having multiple parents per node (via a
36parents() method) but may very well never return more than one parent.
37All utility modules, such as a Visitor module, should do its best to
38never assume that a node only has one parent. There are situations
39where this is not possible - in those cases the module's documentation
74d97bdc 40should clearly state that it is not compatible with DAGs.
41
5e44a0c6 42So far there is no Tree::DAG module, but there will be. These requirements
43are vague, and the requirements of Tree modules to be DAG compatible will
74d97bdc 44become more defined in due course.
9d3d72a3 45
82958127 46=head1 AUTHOR
47
48Aran Clary Deltac <bluefeet@cpan.org>
49
50=head1 LICENSE
51
52You may distribute this code under the same terms as Perl itself.
53