You can make bad architectures in any language you like!
The only truly bad language is JavaScript. ;-)
In no way is PHP better than JavaScript, and the simple fact that JS runs natively in both the front and back end is astronomically more important than a point-by-point comparison of language features that PHP loses anyway.
https://x.com/Rich_Harris/status/1844744999272935596
Rich Harris @Rich_Harris:
A few takeaways from this remarkable data:
1. Yes, SSR matters. SvelteKit users sometimes get frustrated that it's too SSR-centric, and we have plans to address that in the next major version. But SSR is the default for a reason! Our ultimate responsibility is to end users
Ben McCann @BenjaminMcCann:
Some data from Google (big thank you to @rick_viscomi and @imkevdev !)
Client-side-only SPAs are extremely detrimental to latency as they add a network round-trip before rendering begins.
You can win at LCP by making it harder to build client-side apps