[Catalyst] Shoot out -- Catalyst / RoR / Other MVC apps --

Jamie Neil jamie at versado.net
Wed May 9 15:48:04 GMT 2007


Christopher H. Laco wrote:
> For non-Handel things in Mango...it's just the last ones:
> 
> 	Mango::Provider::Users - responsible for user CRUD API in Mango
> 	Mango::Catalyst::Model::Users - wraps above in Model instance
> 	MyApp::Model::Users (isa Mango::Catalyst::Model::Users)
> 
> The main theme being...the models are just DB thingies...they're
> completely usable outside core classes (domains/business logic, etc)...

I understand the principle, it's the way that it's all hooked into 
DBIx::Class that I'm confused by. You seem to be using a separate shared 
Storage layer that deals with the database stuff (if I remember correctly).

Maybe my biggest problem is that I'm not familiar enough with Perl OO 
programming. I know there's more than one way to do it, but when you're 
trying to learn by reading other peoples code, and they each seem to do 
it in a slightly different way using different CPAN modules, then it 
makes it a lot harder.

-- 
Jamie Neil | <jamie at versado.net> | 0870 7777 454
Versado I.T. Services Ltd. | http://versado.net/ | 0845 450 1254



More information about the Catalyst mailing list