[Dbix-class] Dbix-class Digest, Vol 9, Issue 27
Mark Hedges
hedges at ucsd.edu
Wed Mar 22 18:52:11 CET 2006
> Date: Wed, 22 Mar 2006 11:08:59 -0600
> From: "Brandon Black" <blblack at gmail.com>
> Subject: Re: [Dbix-class] DBIx::Class and mod_perl
> To: dbix-class at lists.rawmode.org
>
> On 3/22/06, Rolf Schaufelberger <rs at plusw.de> wrote:
>
> > What is the preferred way to have DBIx::Class to run with mod_perl ?
> > With CDBI I use the solution described here:
> > http://wiki.class-dbi.com/wiki/Using_with_mod_perl
> >
>
> Generally speaking, you use DBIx::Class under mod_perl just like you
> would use it when you're not under mod_perl. It should handle
> everything fine without any special treatment.
Hi...
Wouldn't you want to use the schema lib first from startup.pl?
The I would assume the information gathered from the series of
"describe tables" statements and relationship setups would
stored in the schema class package and be cloned to each
intepreter in each child process spawned by Apache, and then
each child would not have to do that upon every spawn -- it's a
comparatively slow step that could be avoided.
Mark
More information about the Dbix-class
mailing list