[Catalyst] Quick Start Section of "Catalyst - The Definitive
Guide"
Gavin Henry
ghenry at perl.me.uk
Fri Dec 30 20:02:01 CET 2005
<quote who="Zbigniew Lukasiak">
> On 12/30/05, Gavin Henry <ghenry at perl.me.uk> wrote:
>> Starting a new thread to thrash out want we want in the Quick Start,
>> which
>> should be based on the Tutorial Pod:
>
> Please consider including my instant PagingAndSort example:
> http://search.cpan.org/~zby/Catalyst-Example-PagingAndSort-v0.0.1/lib/Catalyst/Example/PagingAndSort.pm
> I think it is the quickest way to have a working Catalyst CRUD example
> using your own tables.
> You just run it:
>
> $ pagingandsort.pl -name=My::App -dsn='dbi:Pg:dbname=CE' -user=zby
> -password='pass'
>
> and it generates the example application in the current directory.
>
> I know it is full of hacks - but I hope future releases of Catalyst
> will help me in cleaning the code.
>
> I am now working on porting that to DBIx::Class.
>
Just tried this, but failed due to Catalyst::Model::CDBI::Sweet not being
installed, so it didn't just work.
But, yes it's a good example ;-)
--
Walking the road to enlightenment... I found a penguin and a camel on the
way..... Fancy a yourname at perl.me.uk? Just ask!!!
http://perlmonks.org/?node_id=386673
More information about the Catalyst
mailing list