Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > aebcfaa5755ca70061049e2f25bbc4d8

perl-Catalyst-Model-Adaptor-0.100.0-1.mga5.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: