[cgiapp] CAP::Authentication & Rose::DB

Richard Jones ra.jones at dpw.clara.co.uk
Thu Sep 11 13:39:37 EDT 2008


Anyone using Rose::DB and CGI:Application::Plugin::Authentication 
together? There's a plugin for DBIC but I can't work out how to clone 
that functionality for Rose. At the moment I'm doing:

$c->dbh_config( My::DB->new() ); # My::DB @ISA = qw(Rose::DB);

then,

DRIVER => [ 'DBI',
     DBH => $c->dbh,
     etc,
],


It works, but I'm not sure that's the right way to do it, as it doesn't 
seem to be using the ORM (ie db classes & schema) in the way that the 
DBIC driver does. Any help/pointers appreciated.


More information about the cgiapp mailing list