Live data from Hacker News

PHP is the new JavaScript?

mux.com

1–10 of 88 posts

Re: PHP is the new JavaScript?

#2
I find it funny the author choose Symfony as a framework to "shudder" about. Considering the base of Laravel is Symfony.

The rest of the article seems to be more about AI code editing and MUX video players then PHP.

So I am not really sure what I am supposed to take from this post.

Re: PHP is the new JavaScript?

#7
PHP definitely is not the new JavaScript, but for people who want a server side solution for content delivery that's separated from the client, I'm sure it's much better than the mess it was 10+ years ago. That's still just a transition from meme level tech to valid option though.

Re: PHP is the new JavaScript?

#8
> What happened? Well. Laravel happened (and has been happening).

Funny, because Laravel was one of the things driving me away from PHP, in the same way that Rails drove me away from Ruby. PHP was becoming a salvageable language with some of the 7.0 changes, but if you don't dump 1000 pounds of gunk on top to make the easy things hard and there hard things dang near impossible, then you're not a "web artisan", I guess.

Laravel needs its own 'fractal of bad design' article. My experience was being told to use it for a work project by a koolaid-driven manager, and finding that it made our CRUD apps about 1000 times harder to write[1] and 100 times slower to execute. It seriously took Laravel 100 times longer (0.3s to 30s) just to bootstrap itself than it took our Phrebar app to handle a request including a bunch of database accesses and permission checks.

[1] Or maybe infinitely, even with code generation, because the ORM didn't support composite keys. In that way we were forced to bypass the whole thing regardless of my feelings about it.

Post reply on HN