On Mon, Jun 04, 2012 at 11:36:21 -0400 , Mark Haney wrote:
> On 06/04/2012 09:57 AM, Chris Nehren wrote:
> 
> >
> >Erg. CGI.pm is a terrible idea--runtime string eval and all that
> >silliness. Please investigate one of the lighter Plack/PSGI frameworks
> >like Dancer and Web::Simple. Really, mod_perl is the wrong tool for the
> >job here. It's for writing Apache modules with Perl. This means things
> >like altering request flow, authentication, and the like--not Web apps.
> >
> 
> Okay, you've talked me into it.  What's the learning curve for
> Dancer? Or Web::Simple?

Both aim to be easy to learn, at least when compared to larger
frameworks like Catalyst. Dancer uses a DSL (which is inspired by
Sinatra, IIRC), whereas Web::Simple uses nested closures. Another
lighter, simpler framework that my tired brain forgot is Mojo. Take a
look at all three, give them all a try, and see which one fits best.

> How hard is it to convert existing CGI.pm code into the framework?

That much I'm not sure about, as I stopped writing CGI.pm code about ten
years ago. There's #dancer, #web-simple, and #mojo on irc.perl.org if
you have questions not covered in the documentation or if you want
realtime guidance.

-- 
Chris Nehren           | Coder, Sysadmin, Masochist
Shadowcat Systems Ltd. | http://shadowcat.co.uk/

Attachment: pgpZGAXYGSFZW.pgp
Description: PGP signature

Reply via email to