News for hackers. Stuff that matters.
Re:PHP is worth learning and using by thecatspaw on Thursday November 18, 2021 @08:27AM (#29265102)
You do not need an _external_ server for a lot of languages. If you use node for example you can use the express package to run a custom server, or embedded tomcat for java
Re:PHP is worth learning and using by tlackemann on Thursday November 18, 2021 @08:30AM (#29265135)
I suppose, but I've never encountered a production site that was using Gunicorn or similar as a true server. Usually that's coupled with something like Nginx or HAProxy.

So yeah, you technically don't need one for Ruby or Node.js, but I sure would.

Re:PHP is worth learning and using by redm on Thursday November 18, 2021 @08:51AM (#29265307)
PHP has a built in web server you can launch from the CLI and run the script. `php -S <address:port>`