Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > c5bb89e6477d4254b080f9809b2bf177

perl-Catalyst-Model-Adaptor-0.100.0-3.mga6.src.rpm

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.

Generated packages:

Other version of this rpm: