[Catalyst] Dumb question of a beginner

Alex Povolotsky tarkhil at over.ru
Mon Feb 11 14:41:03 GMT 2008


Johan Lindström wrote:
> At 11:21 2008-02-11, Alex Povolotsky wrote:
>> Looking at Catalyst::Enzyme::CRUD::Controller
> .....
>> $c->stash->{items} = [ $model->retrieve_all() ];
> .....
>> what should I change?
>
> If you're a newbie, I think it's a mistake to go down the Class::DBI 
> route instead of using DBIx::Class. Which means, don't use 
> Catalyst::Enzyme (which is tied to CDBI). So the long/medium term 
> answer to your question is: change to another Catalyst CRUD module. 
> I'm sure the list can provide default recommendations.
>
> But the short term answer to your question is here:
> http://search.cpan.org/~tmtm/Class-DBI-v3.0.17/lib/Class/DBI.pm#search

Looks reasonable; I'm trying to untie Enzyme from CDBI.

Alex.




More information about the Catalyst mailing list