in reply to is Plack really necessary?
tl;dr: Yes.
Plack is the namespace for an implementation of the PSGI standard. It is a more powerful modernization of and diversion from CGI. nginx wisely does not even support CGI (out of the box). That means you must use PSGI/Plack at least, though if you're feeling like redecorating your rooms in rubber you can use CGI beneath that. All modern Perl webframeworks (Catalyst, Mojolicious, Dancer2…) use PSGI as their interface layer because it is easily the best and most flexible way to do things today. Here is a simplistic but working set of code to run a toy app over PSGI through uWSGI/nginx.
Code <-> Dancer2 <-> PSGI <-> uWSGI <-> nginx <-> Clients
I recommend uWSGI over Starman.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: is Plack really necessary?
by dsheroh (Monsignor) on Apr 26, 2018 at 09:04 UTC | |
by Your Mother (Archbishop) on Apr 26, 2018 at 16:19 UTC | |
Re^2: is Plack really necessary?
by Anonymous Monk on Apr 26, 2018 at 20:57 UTC | |
by dsheroh (Monsignor) on Apr 27, 2018 at 08:49 UTC | |
by Anonymous Monk on Apr 27, 2018 at 11:32 UTC | |
by Your Mother (Archbishop) on Apr 27, 2018 at 16:23 UTC | |
by Anonymous Monk on Apr 28, 2018 at 09:28 UTC | |
|
In Section
Seekers of Perl Wisdom