[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#603776: ITP: libdancer-plugin-database-perl -- easy database connections for Dancer applications

Package: wnpp
Severity: wishlist
Owner: Damyan Ivanov <dmn@debian.org>

* Package name    : libdancer-plugin-database-perl
  Version         : 0.11
  Upstream Author : David Precious <davidp@preshweb.co.uk>
* URL             : http://search.cpan.org/dist/Dancer-Plugin-Database/
* License         : Artistic or GPL-1+ (same as Perl)
  Programming Lang: Perl
  Description     : easy database connections for Dancer applications

  Dancer is a web application framework that aims at making possible to write 
  web applications in the siplest possible way.
  Dancer::Plugin::Database provides an easy way to obtain a connected DBI
  database handle by simply calling the database keyword within your Dancer
  It takes care of ensuring that the database handle is still connected and
  valid. If the handle was last asked for more than connection_check_threshold
  seconds ago, it will check that the connection is still alive, using either
  the $dbh->ping method if the DBD driver supports it, or performing a simple
  no-op query against the database if not. If the connection has gone away, a
  new connection will be obtained and returned. This avoids any problems for a
  long-running script where the connection to the database might go 
  The connection credentials and other information neded when connecting is
  retrieved from the Dancer configuration so the code stays nice and clean.

Reply to: