Package: wnpp Severity: wishlist Owner: Damyan Ivanov <d...@debian.org>
* Package name : libdancer-plugin-database-perl Version : 0.11 Upstream Author : David Precious <dav...@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 application. . 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 away. . The connection credentials and other information neded when connecting is retrieved from the Dancer configuration so the code stays nice and clean. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101117053134.23722.12687.report...@pc1.creditreform.bg