[Catalyst] Best practice for database connections, where $c is not available?

2008-12-31 Thread Oliver Charles
Hi, This has hit me a few times, and I've just encountered it again, so I thought it would be good to ask those wiser than I :) There have been a few times where I could do with querying the database (which I'd normally do through $c-model), but this is not available. For example, I've added the

Re: [Catalyst] Best practice for database connections, where $c is not available?

2008-12-31 Thread Ash Berlin
On 31 Dec 2008, at 15:37, Oliver Charles wrote: Hi, This has hit me a few times, and I've just encountered it again, so I thought it would be good to ask those wiser than I :) There have been a few times where I could do with querying the database (which I'd normally do through $c-model),

Re: [Catalyst] Best practice for database connections, where $c is not available?

2008-12-31 Thread Bill Moseley
On Wed, Dec 31, 2008 at 03:37:13PM +, Oliver Charles wrote: Hi, This has hit me a few times, and I've just encountered it again, so I thought it would be good to ask those wiser than I :) There have been a few times where I could do with querying the database (which I'd normally do