[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] Elementary rm question


Hi Nate --

> I'm just
> starting to look into mod_perl also, is CGI::Application compatible with
> that? I saw something about being able to preload cgi modules, maybe
> that will help out if my modules ever grow out of control.

CGI::Application was built to be used via mod_perl from the beginning.  If
you build your web apps based on CGI-App they should automatically run via
mod_perl.

To even further ensure that your CGI-App modules run when you switch to
mod_perl, always run in "strict" mode with full warnings:

  package My::Application;
  use base 'CGI::Application';
  use strict;
  use warnings;

By simply switching to mod_perl you're going to get a tremendous performance
improvement, without any other code change.  Once you have made the switch,
you can work on some of the finer points, such as perloading modules.  Most
of the performance improvement, however, is going to be realized without any
further tuning.  In some cases, you may never need to make any further
changes.

Warmest regards,

-Jesse-


--

  Jesse Erlbaum
  The Erlbaum Group
  suppressed
  Phone: 212-684-6161
  Fax: 212-684-6226




---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.