jdtoronto has asked for the wisdom of the Perl Monks concerning the following question:
I have been doing this for a while, and have a couple of pretty large (20K+ lines of Perl in about 40 scripts) apps running quite happily. But they are maintenance nightmares. They feature
- relatively little use of CGI,pm - usually only for parsing form values = we started out using cgi-lib.pl when we stopped using out hand-rolled parser.
- All the HTML is in <<here statements, this stuff was started in 1994. We did use a template parser of our own for a while, but it was too clunky so we gave it away.
- Session management is done by using a variable passed in the URL.
- About five years ago we updated from flat-file dtabases to MySQL with DBI&DBD
- CGI.pm extensively
- Template::Html for all display.
- CGI::Session for sessions management.
- Abstract::SQL for building complex SQL on the fly
- and of course the inevitable DBI&DBD combinations.
I would like to make some intelligent choices about new ways to do all of this! I see lots of Application Frameworks getting around, but I would like some informed opinion about these.
- What are monks using as frameworks for large web-apps?
- What are your favourite CPAN modules other than the usual suspects such as those I have mentioned? Why?
- Do you have any pointers to suitable books (other than O'Reilly I have everything they have published related to Perl and the Web.