in reply to How do you feel about mod_perl?

Gosh, I can't edit these nodes. And I keep thinking of more things to say. Note that another attempt to equate application-level CGI programming with mod_perl is Apache::Emulator.

Replies are listed 'Best First'.
Re: Re: How do you feel about mod_perl?
by kwoff (Friar) on Nov 06, 2001 at 00:21 UTC
    I can't see why anyone would use that. You get the complexity of mod_perl with the bad performance of CGI? Maybe you could run your Apache::Emulator script in Apache::Registry or Apache::PerlRun just to complete the circle from mod_perl syntax to CGI-ness back to mod_perl? :)

    In the Description section from the link you gave, he points out that some things, like subrequests, are impossible. So that comes back to your question of what parts of application programming are available in mod_perl that aren't in CGI. You can emulate the CGI-compatible parts in mod_perl. The only reason not to just use CGI then would be so that it could run fast if you got to run your stuff under mod_perl. But if that's the case, I think it's just as well to use Apache::Registry and not worry about it. Unless you're in a Tantalus situation where you can't use a real development environment.