in reply to Review of CGI::Alternatives

Prologue: I'm your target audience. I like CGI.pm quite a bit and have written a couple thousand scripts, production and personal, with it at several jobs including Amazon.com.

I also love the (can't call them new at this point, Catalyst is 13 years old) frameworks and raw Plack/PSGI but I use CGI.pm (::Pretty) now and then for the odd test or to generation a little boilerplate. Has nothing to do with fad or some imagined new:old dichotomy. I do what I want. CGI is monolithic and has some punching power in its weight class because of it but it's inferior to modern practices and tools on most levels, especially as a calling card. I agree that CGI.pm should not be removing features.

That said, your proposal contains some unflattering ironies and inaccuracies and boils down to anonymously insulting and cajoling others into doing what you have the power to do. I agree with your basic premise but still downvoted you for the presentation and "volunteering" others.

CGI.pm isn't core anymore. It's never going back in. Apache's market share is on a strong downward trend. Nginx is the opposite and the only webserver that is. If these trends hold, nginx will be the most popular and widely used server in a few more years. Nginx doesn't even support CGI.

Being out of the core means there is no reason at all not to fork CGI.pm at whatever version you feel is backwards stable and port fixes going forward. I'd help patch and such a project if were on github and run in a community positive, feud free fashion. On that note, I submitted a modernization fix to LEEJO and it was accepted and applied instantly.

Epilogue: Anonymous Monks have no "we." Use your name or say "I."

Replies are listed 'Best First'.
Re^2: Review of CGI::Alternatives
by Anonymous Monk on Jun 10, 2018 at 02:13 UTC
    Apache's market share is on a strong downward trend. Nginx is the opposite and the only webserver that is. If these trends hold, nginx will be the most popular and widely used server in a few more years. Nginx doesn't even support CGI.

    Because Nginx is a toy compared to Apache. It fills one little niche very well: replace reverse mod_proxy, on high traffic sites, so the mod_perl application server can get even more action! My brand new Macbook Pro came loaded with Apache/2.4.29, mod_perl/2.0.9 and Perl/v5.18.2 (which still includes CGI.pm yay). Simply edit config, flip the switch, and throw code at it. Nginx is not present, needed, nor welcome for such tasks. Apple has been very good to us. None of my linux distros even include Apache let alone mod_perl.

      "...Nginx is a toy compared to Apache... My brand new Macbook Pro came loaded with Apache..."

      Sure. And a Macbook is a great platform to run a high-performance web server. And my cellphone is stronger than your fax machine. And my dick is a monster.

      Best regards, Karl

      P.S.: How many serious projects did you do with nginx - if any?

      «The Crux of the Biscuit is the Apostrophe»

      perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

        Perl is installed on all Macs. Mac is the dominant computer in schools. Most children have a Mac or access to one. They also have Apache and freakin mod_perl! Kids everywhere are being encouraged to learn programming. Connect those dots and we could produce Perl savants by the million. Why the hell are Perlmonks shitting on this golden opportunity?

        Don't forget your roots. Apache is a very high performance web server for 99% of use cases--despite some people's religious devotion to whatever happens to be considered "the best". Almost every gigantic corporation now dominating the web was created by some kid with a laptop in his spare time.

        Find a kid with a Mac. Open a terminal for them. Show them Perl!

      I'm an Apple user going back well before OS X; and an apache user since '98. Nginx is so much better than apache as a pure webserver that it is somewhat ridiculous. The idea that you think a toy, deeply popular with open source developers, could be eating the market share of every single other webserver because of fashion or corporate pressure shows that you're either not serious or don't know what you're talking about.

        Apache and Nginx are apples and oranges. Trying to compare them seems pointless. They're best used together if one needs to handle huge traffic.
Re^2: Review of CGI::Alternatives
by Anonymous Monk on Jun 09, 2018 at 22:59 UTC

    Epilogue: Anonymous Monks have no "we." Use your name or say "I."

    I have to we , do your mother?