Alpha version of DBIx::Librarian is now available on CPAN.

� � This module is intended to provide an additional tool to support
� � proper separation of concerns. While there are several excellent
� � modules assisting in separate of UI (esp. HTML) from application
� � code, there is a similar challenge for SQL queries. This domain is
� � under-served on CPAN.

� � The implementation provided by DBIx::Librarian is sufficiently
� � different from other related modules (in particular, SQL::Catalog)
� � that this module is not rehashing previously-explored territory.
� � Future opportunities exist for combining functions of several of the
� � related modules into a more comprehensive whole.


Example of use:

  use DBIx::Librarian;

  my $dblbn = new DBIx::Librarian;

  my $data = { id => 473 };
  eval { $dblbn->execute("lookup_employee", $data); };
  die $@ if $@;
  print "Employee $data->{id} is $data->{name}\n";

  $dblbn->disconnect;


Example of possible use:  Combine with Template Toolkit to build a
data-driven HTML template system.  The structure of the data returned
by DBIx::Librarian::execute() is immediately usable by basic Toolkit
substitutions.


Feedback is appreciated.

-Jason

Reply via email to