[Catalyst] dbic models and startup time server
    Josef Chladek 
    j.chladek at wirtschaftsblatt.at
       
    Mon Aug 21 23:16:48 CEST 2006
    
    
  
Am 21.08.2006 um 22:42 schrieb Brandon Black:
> Are you using real schemas, or Schema::Loader? (If you're using  
> Schema::Loader at runtime, the advice would be to stop doing that).
>
> If you're not, then you'll just have to wait for future performance  
> improvements, a few of which are in the early development stages.
>
> -- Brandon
hi brandon,
the model:
package XMLForm::Model::BElogs;
use base qw/Catalyst::Model::DBIC::Schema/;
__PACKAGE__->config(
         schema_class => 'XMLForm::Schema::BElogs',
         connect_info => [
         "dbi:mysql:BElogs:localhost",
         "xxxx",
         "xxxx",
         {AutoCommit => 1}
         ]
         );
the schema:
package XMLForm::Schema::BElogs;
use base qw/DBIx::Class::Schema/;
__PACKAGE__->load_classes();
1;
so I guess we have to wait, right?
thanks
josef
    
    
More information about the Catalyst
mailing list