libcatalyst-model-dbic-schema-perl

Dbix::class::schema-based database model for catalyst
  https://metacpan.org/release/Catalyst-Model-DBIC-Schema
  0
  no reviews



Catalyst::model::dbic::schema is a catalyst database model class for dbix::class::schema-based models. see the documentation for catalyst::helper::model::dbic::schema for information on generating these models via helper scripts.

when a catalyst app starts up, a thin model layer is created as an interface to the dbic schema. it should be clearly noted that the model object returned by $c->model('filmdb') is not itself a dbic schema or resultset object, but merely a wrapper proving methods to access the underlying schema.

in addition to this model class, a shortcut class is generated for each source in the schema, allowing easy and direct access to a resultset of the corresponding type. these generated classes are even thinner than the model class, providing no public methods but simply hooking into catalyst's model() accessor via the accept_context mechanism.

catalyst is an elegant model-view-controller web application framework written in perl.