Re:A look at modern PHP
by vertex-four on Tuesday May 05, 2020 @11:28AM
(#23081061)
I can, on my local server, change the code, hit it again, and have my changes reflected in what happens. Doing that with Python, Node.JS, Ruby, or Java requires extra configuration. That's the point.
[ Parent
| on HN ]
Re:A look at modern PHP
by erik_seaberg on Tuesday May 05, 2020 @05:29PM
(#23085300)
Rewriting a bunch of text files isn't atomic, so you need to take a planned outage or atomically rename the source dir so you don't serve 5xx errors from parsing half-written source. At that point you might as well have a deploy process, which can be as simple as "rsync && mv" into each host.
Re:A look at modern PHP
by vertex-four on Tuesday May 05, 2020 @06:19PM
(#23085796)
Indeed, but again, I don’t care about that while I’m developing locally.