[Catalyst] recommendation

Ashley apv at sedition.com
Mon Nov 10 18:18:44 GMT 2008


On Nov 10, 2008, at 9:31 AM, Octavian Rasnita wrote:
> 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?
> After we change something in the structure of some database tables,  
> the single way of updating the DBIC classes is to make the update  
> manually?

You can put the extra component calls into a BEGIN block in the  
editable-lower section of the package. I don't seem to have any  
sample code handy, sorry. It's come up on the DBIC list before, I  
think. You might dig around in there if it's not obvious how to proceed.

-Ashley




More information about the Catalyst mailing list