[Catalyst] Obtaining better application speed during development

Matt S Trout dbix-class at trout.me.uk
Mon Mar 20 18:51:56 CET 2006


Michele Beltrame wrote:
> Hello!
> 
> Thanks everybody for you replies.
> 
> For the time being I switched to the Catalyst server for development,
> which is already far better than the CGI way.
> 
> I'll try the Apache things as soon as I complete the migration from
> Class::DBI to DBIx::Class. At present I'm using *both* in the same
> application, which makes things quite messy...

sub db_Main {
   MyApp->model('DBIC')->schema->storage->dbh;
}

may make your life simpler :)

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list