home.social

#plack — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #plack, aggregated by home.social.

  1. @vandys @randomgeek @codinghorror As a #Perl hacker I will never besmirch #CGI as a standard or for light-use web scripts, but a lot of sins were committed with the two.

    These days the done thing is to use #PSGI and a framework like #Mojolicious or #Dancer2 in a persistent app server. You don’t have to write nearly as much code, either. plackperl.org

    The #Plack middleware can even run your code as a CGI or #FastCGI script if you reallly want.

  2. @vandys @randomgeek @codinghorror As a #Perl hacker I will never besmirch #CGI as a standard or for light-use web scripts, but a lot of sins were committed with the two.

    These days the done thing is to use #PSGI and a framework like #Mojolicious or #Dancer2 in a persistent app server. You don’t have to write nearly as much code, either. plackperl.org

    The #Plack middleware can even run your code as a CGI or #FastCGI script if you reallly want.

  3. @vandys @randomgeek @codinghorror As a #Perl hacker I will never besmirch #CGI as a standard or for light-use web scripts, but a lot of sins were committed with the two.

    These days the done thing is to use #PSGI and a framework like #Mojolicious or #Dancer2 in a persistent app server. You don’t have to write nearly as much code, either. plackperl.org

    The #Plack middleware can even run your code as a CGI or #FastCGI script if you reallly want.

  4. @vandys @randomgeek @codinghorror As a #Perl hacker I will never besmirch #CGI as a standard or for light-use web scripts, but a lot of sins were committed with the two.

    These days the done thing is to use #PSGI and a framework like #Mojolicious or #Dancer2 in a persistent app server. You don’t have to write nearly as much code, either. plackperl.org

    The #Plack middleware can even run your code as a CGI or #FastCGI script if you reallly want.

  5. @vandys @randomgeek @codinghorror As a #Perl hacker I will never besmirch #CGI as a standard or for light-use web scripts, but a lot of sins were committed with the two.

    These days the done thing is to use #PSGI and a framework like #Mojolicious or #Dancer2 in a persistent app server. You don’t have to write nearly as much code, either. plackperl.org

    The #Plack middleware can even run your code as a CGI or #FastCGI script if you reallly want.

  6. On this day in 2008, the #Apache Software Foundation released mod_perl 2.0.4, compatible with the December 2007 release of #Perl v5.10: lists.apache.org/thread/shyvjn

    #ModPerl embeds a #Perl runtime in the Apache #httpd web server, hooking it into all stages of the request and response process as well as configuration file logic. Before the advent of #PSGI and #Plack in the 2010s, it was the recommended platform for persistent Perl web applications without the overhead of legacy #CGI.

    #WebDev #ASF

  7. @js @berkes @simon #CGI for #Perl #WebDev hasn't been a best practice since the release of the #PSGI spec and #Plack middleware in 2009. There are several very good frameworks that build on PSGI, described here for folks coming from CGI: metacpan.org/pod/CGI::Alternat

    The CGI module itself was removed from the core Perl distribution with v5.20 in 2014 perldoc.perl.org/perl5200delta

    For anything but the simplest single-user apps, you are permitted to point and laugh at anyone that still uses CGI.