[Catalyst] Where is the "Catalyst for Dummies" page?

J. Shirley jshirley at gmail.com
Sat Oct 20 17:36:23 GMT 2007


On 10/19/07, Dave Rolsky <autarch at urth.org> wrote:
>
> On Fri, 19 Oct 2007, J. Shirley wrote:
>
> > Here's a good path to follow:
> > 1) How would I accomplish [business goal] as a library that other people
> can
> > use?
> > 2) How can I test [business goal]
> > 3) Write that API as a separate perl module (MyApp::BizLogic)
> > 4) Now, write a thin Catalyst adapter class (MyApp::Model::BizLogic)
> that
> > provides the Catalyst hooks to make it easier to talk to in the
> controller.
>
> As an aside, I don't really grok #4. My big Catalyst project has been
> converting an existing Mason/Alzabo site to use Catalyst, but with the
> same model classes using Alzabo.
>
> I've had to do very little to hook Catalyst to my model, beyond writing
> some thing adapter classes to make the Authentication plugin happy. What
> exactly do people put in their Catalyst Model classes?
>
>
> -dave


Well, I mostly put in an adapter class to make auth happy ;) -- also, you
can put in some other caching logic that is only relevant while running
inside of Cat.

-J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20071020/0f586=
4b3/attachment.htm


More information about the Catalyst mailing list