I’ve hacked up a few websites in my time but strangely, although Perl is my language of choice, never using Perl CGI. They’ve either been quick and dirty PHP scripts or else the Joomla CMS (PHP + MySQL) with Facile Forms.
This is about to change. I see a variety of web apps in my future work and they’ll require the Bioperl library. I’m also keen to start doing things properly – which means frameworks. A bit of web research has lead me to two alternatives:
I’ve read good things about both of them. Both are packaged for Ubuntu, so install should be straightforward. Catalyst seems to be “Ruby on Rails for Perl” and looks like somewhat more of a learning curve. I like the philosophy of CGI::Application: you package your web app as a module that codes the page(s) and call it with a simple wrapper script. The two options seem similar yet different. Opinions on the web don’t seem to favour one over the other and some people are happy to use both.
Choices, choices. Comments from any Perl heads with experience of these frameworks are most welcome.