[Catalyst] Catalyst::Model::DBIC::Schema and caching row objects
Octavian Rasnita
orasnita at gmail.com
Wed Feb 13 06:05:08 GMT 2013
Hi Bill,
From: Bill Moseley =
Not sure if the is a Catalyst or DBIC question.
Catalyst::Model::DBIC::Schema returns objects blessed into classes relate=
d to the app. Then the problem is I cannot share (cached) objects across a=
pplications.
If you want to use DBIC in more apps, don't use Catalyst::Model::... but =
create a standalone module that can be used from more apps, even in CLI scr=
ipts.
And access that standalone module using Catalyst::Model::Adaptor.
Octavian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20130213/aa8e3=
935/attachment.htm
More information about the Catalyst
mailing list