| 1 |
Source: libcatalyst-model-dbi-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Perl Group <[email protected]> |
| 5 |
Uploaders: Damyan Ivanov <[email protected]> |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
Build-Depends-Indep: libcatalyst-perl, |
| 8 |
libdbi-perl, |
| 9 |
libdbix-connector-perl, |
| 10 |
libmro-compat-perl, |
| 11 |
perl |
| 12 |
Standards-Version: 3.9.5 |
| 13 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libcatalyst-model-dbi-perl |
| 14 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libcatalyst-model-dbi-perl.git |
| 15 |
Homepage: https://metacpan.org/release/Catalyst-Model-DBI |
| 16 |
Testsuite: autopkgtest-pkg-perl |
| 17 |
|
| 18 |
Package: libcatalyst-model-dbi-perl |
| 19 |
Architecture: all |
| 20 |
Depends: ${misc:Depends}, ${perl:Depends}, |
| 21 |
libcatalyst-perl, |
| 22 |
libdbi-perl, |
| 23 |
libdbix-connector-perl, |
| 24 |
libmro-compat-perl |
| 25 |
Description: Database model class for Catalyst |
| 26 |
Catalyst::Model::DBI is the DBI model class for Catalyst. |
| 27 |
. |
| 28 |
There are two options for doing custom models with Catalyst. Either by using |
| 29 |
this model and any related modules as needed or by having a custom model |
| 30 |
decoupled from Catalyst and glued on using Catalyst::Model::Adaptor |
| 31 |
. |
| 32 |
Some general rules are as follows. If you do not wish to use DBIx::Connector |
| 33 |
or DBI directly and setup connections in your custom models or have glue |
| 34 |
models, then use this model. If you however need models that can be re-used |
| 35 |
outside of your application or simply wish to maintain connection code |
| 36 |
yourself outside of the Catalyst, then use Catalyst::Model::Adaptor which |
| 37 |
allows you to glue outside models into your Catalyst app. |
| 38 |
. |
| 39 |
Catalyst is an elegant Model-View-Controller web application framework |
| 40 |
written in Perl. |
| 41 |
. |
| 42 |
DBI is a Perl database interface. |