YAPC::Europe 2011 in Riga

YAPC::Europe 2011 “Modern Perl”

Twitter #ye2011    RSS       Log in

DBIx::Class::Tree::Mobius

By Valentin Guillois
Date: Tuesday, 16 August 2011 11:40
Duration: 20 minutes
Target audience: Any
Language:
Tags: dbix::class sql tree


DBIx::Class::Tree::Mobius is a new DBIx::Class component to represent and manage trees in a SQL database.

This module uses the Möbius encoding which is a variant of the 'Nested Intervals' tree encoding using continued fraction. It takes a complementary approach of both the 'Nested Sets' model and the 'Materialized Path' model.

The talk will first explain the internal of the Möbius encoding and then focus its the pros and cons compared to more traditional approach like DBIx::Class::Tree::AdjacencyList and DBIx::Class::Tree::NestedSet.

Attended by: