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