News for hackers. Stuff that matters.
Re:A look at modern PHP by jbergens on Tuesday May 05, 2020 @11:42AM (#23081234)
I think there is a huge difference between web sites and web applications. Most large applications today uses SPA and an api. The api can be done in any backend language and there is not many obvious benfits of using php but some clear drawbacks.

If you just want to create a web site quickly then php works fine but on the other hand you can do it quickly with js, c# or Typescript also.

Re:A look at modern PHP by stephenr on Tuesday May 05, 2020 @04:27PM (#23084612)
> Most large applications today uses SPA and an api.

[citation needed]

Re:A look at modern PHP by dfee on Tuesday May 05, 2020 @03:59PM (#23084247)
> Most large applications today uses SPA and an api.

I’ve been thinking a lot about this over the last year+. Is this true? Because the deployment model is 1000x more straightforward for CRA vs NextJS (nuxtjs, etc.).

Re:A look at modern PHP by cjblomqvist on Tuesday May 05, 2020 @04:23PM (#23084572)
CRA?
Re:A look at modern PHP by bshimmin on Tuesday May 05, 2020 @05:19PM (#23085183)
Re:A look at modern PHP by wolco on Tuesday May 05, 2020 @09:52PM (#23087189)
If you used laravel you get things like queuing (tooling around). You can go async. There are some advantages.