[Catalyst] Re: Catalyst::Example::InstantCRUD RFC

Jonas Alves jonas.alves at co.clix.pt
Thu Jan 19 20:24:47 CET 2006


You say that the CRUD example is ported to DBIC but in the pod it says 
it use CDBI::Sweet. I supose it need to be updated.
In Catalyst::Helper::Controller::InstantCRUD you use CDBI::Loader, 
shouldn't it be DBIC::Loader?

--Jonas

Zbigniew Lukasiak wrote:
> It's on CPAN: http://search.cpan.org/~zby/Catalyst-Example-InstantCRUD-v0.0.2/lib/Catalyst/Example/InstantCRUD.pm
> 
> -- Zbyszek
> 
> On 1/13/06, Zbigniew Lukasiak <zzbbyy at gmail.com> wrote:
>> Hi,
>>
>> In the attachments you'll find my Catalyst CRUD example ported to
>> DBIx::Class.   Below I repeat the same arguments I presented for
>> Catalyst::Example::PagingAndSort - so if you read my previous mail
>> this might be redundant.
>>
>> The main goal of this work is a script generating a working Catalyst
>> example with minimal setup by the user.  The additional goal is to
>> make the example extensible and customisable.
>>
>> The generation is just one step:
>>
>> instantcrud.pl -name=My::App -dsn='dbi:Pg:dbname=CE' -user=zby -password='pass'
>>
>> I believe this is the simplest way to have a working non trivial
>> Catalyst application.
>>
>> To meet the goal of extensibility the generated controllers and models
>> are empty subclasses of my library controller or model.
>> This way the user can upgrade my libraries without braking the
>> generated applications, but he can also take the responsibility of
>> parts of the generated application and use the standard OO technique
>> of overriding the methods from the super class.
>>
>> I am waiting for comments.
>>
>> -- Zbyszek
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Catalyst mailing list
>> Catalyst at lists.rawmode.org
>> http://lists.rawmode.org/mailman/listinfo/catalyst




More information about the Catalyst mailing list