[Catalyst-dev] Task-Catalyst-Tutorial-0.01.tar.gz

Brandon Black blblack at gmail.com
Wed Sep 27 21:52:06 CEST 2006


On 9/27/06, Jonathan Rockway <jon at jrock.us> wrote:
>
>
> > Yes, I think you should change the DBIx::Class::Schema line to
> > DBIx::Class::Schema::Loader.
>
> The thing is, the tutorial teaches you how to use DBIC::Schema, not
> DBIC::Schema::Loader.  It probably would have been better to use
> DBIC::Schema::Loader, though...  should the tutorial be changed, or
> should we leave things as they are?
>
> Thoughts from anyone here?


You're right, you're not using the Loader in your tutorial (I guess I was
confusing this with other Tutorials?).  TIMTOWTDI with the DBIC model stuff,
feel free to do it that way.

If it were me I'd depend on ::Loader and replace all of that manual schema
stuff with a simple create=static invocation of the loader.  Its easier for
a beginner following a tutorial, yet leaves a fully editable Schema for
further customization.

> DBIx::Class::Schema is included in DBIx::Class, which you already have a
> > dependancy for.
>
> As an aside, I like to depend on modules rather than distros -- that way
> if it gets split up later my app will continue to work.


Fair enough.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst-dev/attachments/20060927/023d6f32/attachment.htm 


More information about the Catalyst-dev mailing list