[Catalyst] Oh, CRUD

Matt S Trout dbix-class at trout.me.uk
Mon May 8 19:25:51 CEST 2006


Bryan Roach wrote:
> I've been working on setting up some basic CRUD-like functionality
> within a Catalyst app. I didn't want to use Enzyme or InstantCRUD, for
> various reasons. I just want to roll my own, but it's been more time
> consuming and problematic than I'd hoped.
> 
> I've seen a lot of talk about the HTML::Widget plugin. Is that
> probably the best tool for the job? And if so, are there any tutorials
> or examples of it I could look at?
> 
> I don't need the Perfect Example, even just some quick and dirty
> sample of code for a form which grabs a couple values from a database,
> allows edits, validates the results, and puts them back to the
> database would get me going in the right direction. Does anyone have
> code like that lying around that they wouldn't mind sharing?

Even if you're not going to use Enzyme or InstantCRUD, why not dismantle 
them to find out how they work as a starting point? Also, check out

http://dev.catalyst.perl.org/repos/Catalyst/trunk/examples/

for various apps of varying age to prod for sample code.



More information about the Catalyst mailing list