List Info

Thread: Re: do I need to load Apache::DBI?




Re: do I need to load Apache::DBI?
country flaguser name
United Kingdom
2007-07-24 10:46:54
On Tue, Jul 24, 2007 at 09:20:00AM +0200, Cédric Bouvier
wrote:
> Hello,
> 
> I have failed to understand something. If I run my
Catalyst application
> under mod_perl, will it automatically use persistent
database
> connections, or do I have to explicitely tell mod_perl
to load
> Apache:BI?

Catalyst has exactly no effect on database connections. It's
a web framework.
You might not even be using a database.

DBIx::Class and Catalyst::Model:BI both
maintain persistent connections
themselves though.

Apache:BI is an
awful hack and should be avoided where possible.

-- 
      Matt S Trout       Need help with your Catalyst or
DBIx::Class project?
   Technical Director    Want a managed development or
deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at)
shadowcatsystems.co.uk for a quote
http://chainsawblues.vo
x.com/             http://www.shadowc
atsystems.co.uk/ 

_______________________________________________
List: Catalystlists.rawmode.org
Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
archive.com/catalystlists.rawmode.org/
Dev site: http://dev.catalyst.per
l.org/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )