Name : perl-Catalyst-Model-Adaptor
| |
Version : 0.100.0
| Vendor : Mageia_Org
|
Release : 7.mga9
| Date : 2022-03-20 20:39:19
|
Group : Development/Perl
| Source RPM : perl-Catalyst-Model-Adaptor-0.100.0-7.mga9.src.rpm
|
Size : 0.03 MB
| |
Packager : umeabot < umeabot>
| |
Summary : Helper for the incredibly lazy
|
Description :
The idea is that you don\'t want your Catalyst model to be anything other than a line or two of glue. Using this module ensures that your Model classes are separate from your application and therefore are well-abstracted, reusable, and easily testable.
Right now there are too many modules on CPAN that are Catalyst-specific. Most of the models would be better written as a class that handles most of the functionality with just a bit of glue to make it work nicely with Catalyst. This module aims to make integrating your class with Catalyst trivial, so you won\'t have to do any extra work to make your model generic.
For a good example of a Model that takes the right design approach, take a look at Catalyst::Model::DBIC::Schema. All it does is glues an existing DBIx::Class::Schema to Catalyst. It provides a bit of sugar, but no actual functionality. Everything important happens in the \'DBIx::Class::Schema\' object.
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/9/i586/media/core/release |