News for hackers. Stuff that matters.
Re:PHP is worth learning and using by skinkestek on Thursday November 18, 2021 @03:32AM (#29263358)
I have seen people deploy php this way but I'm not aware of anyone who'd do it today.

Locally however it is save, alt-tab, ctrl-r and immediately you see the result. Absolutely no waiting.

These days I rather use Quarkus for this but until Quarkus arrived this was a huge advantage that PHP had over every other language and framework I was aware of.

Also the documentation was fantastic compared to most of the stuff I have had to suffer through on Java, .Net and even React and Angular.

Every thing you may reasonably wonder about was described in a clear, straight forward way and included examples.

Re:PHP is worth learning and using by jonwinstanley on Thursday November 18, 2021 @05:47AM (#29264077)
I deploy with a git pull

Which I suppose is just a fancy way of a copying files to the server.

Re:PHP is worth learning and using by motogpjimbo on Thursday November 18, 2021 @08:55AM (#29265364)
Same. Our Node applications can take up to 10 minutes to build and deploy from a pipeline, but our PHP applications are deployed in <2 seconds by executing `git pull` on a VM.
Re:PHP is worth learning and using by herbst on Thursday November 18, 2021 @05:59AM (#29264127)
Same. And git doesn't care if I add a build process or not, or which language I am pushing.
Re:PHP is worth learning and using by skinkestek on Thursday November 18, 2021 @10:36AM (#29266593)
It is kind of just a fancy way to copy but at the same time gives you versioned deployments, rollbacks etc.
Re:PHP is worth learning and using by theov on Thursday November 18, 2021 @05:51AM (#29264099)
I use PHP this way and I think it's great :)