[Dbix-class] RFC: DBIx::Class 0.05 Schemas + Catalyst?

Brandon Black blblack at gmail.com
Tue Jan 31 19:58:12 CET 2006


On 1/31/06, Alan Humphrey <alan.humphrey at comcast.net> wrote:
>
> Note that this allows you to
> have multiple $c->model('Foo'), $c->model('Bar'), etc, which use the
> same Schema-class but different connection information.
>
> > I'm doing that today.  I connect to a MySQL database and a SQL Server
> database using the same schema.  Other than getting the schema definition
> out of the Catalyst directory structure I don't see what the new approach
> gets me.
>
>

How are you doing it now, without a Catalyst::Model::DBIC-like thing,
and still getting at various schema objects from all of your
controllers?  If there's a better way, I'd rather be doing that too.

-- Brandon



More information about the Dbix-class mailing list