[Catalyst] recommendation

Chisel Wright chisel at herlpacker.co.uk
Mon Nov 10 18:06:20 GMT 2008


On Mon, Nov 10, 2008 at 07:31:09PM +0200, Octavian Rasnita wrote:
> Especially for a beginner, but not only, the most simple way of creating 
> the DBIC classes for a Catalyst app is to use the DBIC::Schema helper.
>
> I've seen that there are many components of DBIx::Class that can't be 
> used if using this helper, because they should be loaded before Core or 
> they require changing the part of the class that can't be modified.
>
> Which is the recommended way for creating a complex app that needs using  
> those components?

I'm not 100% certain what you're asking here.

Are you using DBIx::Class::Schema::Loader with "create=dynamic"?

I've always used "create=static" to give me the initial files
to work from, and have extended, adjusted and tweaked them as I extend
my schema.

After the initial create.pl has been run I make all changes manually.
I'm probably doing it "wrong" though.

-- 
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

  'Everyone say chiz!' Otto commanded
    - Monstrous Regiment



More information about the Catalyst mailing list