Hi, after the recent discussion here about Perl application servers I
realized that the architecture I designed is probably better suited to
usage with an application server than mod_perl.
The basic structure of my mod_perl web application is:
*.pl files are handled by ModPerl::Registry
All *.pl files are structured in the following way:
#!/usr/bin/perl
use strict;
use CGI;
...
&main;
sub main {
...
}
I use CGI.pm 99% ONLY for dealing with input, $cgi->param() ... 99% of
output is either JSON or Template Toolkit generated HTML.
Should I be looking at CGI::Application?
Or CGI::PSGI?
Or even CGI::Emulate::PSGI ?
Should I ask this elsewhere?
Thanks for any advice!
Tosh
--
McIntosh Cooey - Twelve Hundred Group LLC - http://www.1200group.com/
realized that the architecture I designed is probably better suited to
usage with an application server than mod_perl.
The basic structure of my mod_perl web application is:
*.pl files are handled by ModPerl::Registry
All *.pl files are structured in the following way:
#!/usr/bin/perl
use strict;
use CGI;
...
&main;
sub main {
...
}
I use CGI.pm 99% ONLY for dealing with input, $cgi->param() ... 99% of
output is either JSON or Template Toolkit generated HTML.
Should I be looking at CGI::Application?
Or CGI::PSGI?
Or even CGI::Emulate::PSGI ?
Should I ask this elsewhere?
Thanks for any advice!
Tosh
--
McIntosh Cooey - Twelve Hundred Group LLC - http://www.1200group.com/