perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Johnson <>
Subject Re: beginning and testing
Date Tue, 07 Oct 2014 19:38:38 GMT
On Tue, Oct 07, 2014 at 08:23:58AM -0500, Patton, Billy wrote:
> I’m just not sure where to start.
> Any recommendations would help.

I'm going to give you some different, and perhaps somewhat heretical

You want to keep things simple.  That's great.  Your current application
doesn't use mod_perl.  So perhaps to keep things simple you don't need
to now.  mod_perl is a heavyweight solution.  I would suggest looking at
a lightweight framework instead, perhaps Dancer or Mojolicious.

Then I would keep the parts that deal with the web as thin as possible.
Put anything not dealing specifically with the web into separate
modules.  Those modules can be tested extensively in the usual fashion,
and the web layer should be so thin that it's hard to have bugs in it.
However, both Dancer and Mojolicious have testing modules for those
parts too.

Paul Johnson -

View raw message