Re:Usage statistics of server-side programming languages for...
by api on Monday September 13, 2021 @08:49AM
(#28510837)
This is exactly it. Lower friction wins. You can just upload PHP scripts and go, while almost everything else requires many more installation steps or even monstrosities like Kubernetes.
[ Parent
| on HN ]
Re:Usage statistics of server-side programming languages for...
by heurisko on Monday September 13, 2021 @09:57AM
(#28511550)
Modern PHP application development doesn't really use the "deploy PHP scripts to a folder" model any more.
The more likely scenario is that a framework with a front controller is used, which is invoked by php-fpm, proxied by nginx.
It's easy enough to do, though.
Re:Usage statistics of server-side programming languages for...
by lowercased on Monday September 13, 2021 @11:28AM
(#28512712)
The bulk of what I do is still, essentially, 'deploy to a folder'. There's some build steps, and a symlink swap from old to new, but that's still what it's doing. And I can still go edit a single file in a folder some place if I need to test/debug something. That's rare, but there are times when production is the only place an issue shows up (or... the only place you can replicate it - usually you can figure out enough from that to replicate locally later).