GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CATALYST::MODEL::CDBI::SWEET (3)

.ds Aq ’

NAME



    Catalyst::Model::CDBI::Sweet - Making sweet things sweeter



CONTENTS

SYNOPSIS



    package MyApp::Model::CDBI;
    use base Catalyst::Model::CDBI::Sweet;
    MyApp::Model::CDBI->connection(DBI:driver:database);
   
    package MyApp::Model::Article;
    use base MyApp::Model::CDBI;
   
        ... # table class config here



DESCRIPTION

This model is a thin wrapper around Class::DBI::Sweet to let you use it as a Catalyst Model easily. It’s similar to Catalyst::Model::CDBI::Plain.

If you want to use loader, you will probably want to add something like this to your CDBI model config section instead:



           left_base_classes       => qw/Class::DBI::Sweet/,



To see how you can take advantage of this module, please check out the Class::DBI::Sweet documentation.

SEE ALSO

Class::DBI::Sweet, Catalyst::Model::CDBI, Catalyst.

AUTHOR

Christian Hansen <ch@ngmedia.com>

THANKS TO

Danijel Milicevic, Jesse Sheidlower, Marcus Ramberg, Sebastian Riedel, Viljo Marrandi

SUPPORT

#catalyst on <irc://irc.perl.org>

<http://lists.rawmode.org/mailman/listinfo/catalyst>

<http://lists.rawmode.org/mailman/listinfo/catalyst-dev>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Catalyst

Class::DBI::Sweet

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CATALYST::MODEL::CDBI::SWEET (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.