> Pablo Collins <[EMAIL PROTECTED]> wrote:
> I have a bunch of Class::DBI packages in a
> directory/namespace outside of
> the catalyst app I'm building and I would like to
> make them available as the
> model layer.

The short, and unhelpful answer is that nearly
everybody around here, including myself, has drunk the
DBIx::Class Kool-aid, and have stopped using
Class::DBI   with Catalyst.

> It looks like if you want a model layer in catalyst,
> each class has to be
> inside the top-level namespace of the application. I
> would prefer to not
> have to create a package for each catalyst model
> class that says "package
> MyApp::Model::Foo; use base 'MyModel::Foo';" for
> each package. It would be
> neat if you tell the config where your model files
> live and have catalyst
> slurp them up.

Sounds like an excellent idea.  



_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to