Miguel has asked for the wisdom of the Perl Monks concerning the following question:
I am re-writing a large (10s of forms, many templates, complex authorization rules, 10s os lists, many different file formats (png, xml, xls, pdf) to create and retrieve on the fly) web application purely based on mod_cgi. Actually, this app works well altought not so fast as I would like.
I am writing everything from the beggining trying to optimize my code to work under mod_cgi and mod_perl (with Apache::Registry). And here is where I'm stuck: how to deal with CGI (params requests) in a manner that works under both environments without writing a lot of specific code for each mode?
Is using a web app framework the 'only' solution?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: working under mod_cgi and mod_perl
by perrin (Chancellor) on Aug 29, 2007 at 15:42 UTC | |
|
Re: working under mod_cgi and mod_perl
by ikegami (Patriarch) on Aug 29, 2007 at 15:43 UTC | |
|
Re: working under mod_cgi and mod_perl
by CountZero (Bishop) on Aug 29, 2007 at 16:10 UTC | |
by Miguel (Friar) on Aug 29, 2007 at 16:18 UTC | |
by agianni (Hermit) on Aug 29, 2007 at 18:47 UTC |