Hacker News new | past | comments | ask | show | jobs | submit
[flagged]
None of those languages allow me to edit files directly via (S)FTP and see the changes go live within 2 seconds.
loading story #50559229
loading story #50558433
Flashback to the 90s!
loading story #50558546
Yeah, because we all realized that's a cause of trouble and pain and is not a feature to laud.
Until another language reproduces the whole WordPress, Drupal, Magento, Moodle etc ecosystems PHP isn't going away.
Are those ecosystems so important these days? They're mostly for human developer re-usability and ergonomics, right?

When I asked Claude to create a simple online shop the other day, I suggested it use an open source shop framework. Claude explained that Stripe does most of the heavy lifting, and implementing the shop site would be simpler if bespoke. So I let it do that and the result was fantastic. And also highly customisable (with Claude).

Times are a-changing.

There are a LOT of PHP shops and they aren't going to rewrite working sites tomorrow. Even when they do, there's a good chance they'll guide their agent to keep using PHP because that's what they know. It's simple tech for simple use cases, human knowledge is still an important factor if you still value understanding what you're putting out.
> Even when they do, there's a good chance they'll guide their agent to keep using PHP because that's what they know.

Claude knows more about php than a random php shop. Or Go, Python etc.

loading story #50568079
I never use it but my php hosting provider has this wall of icons for one click install. No developer needed on that layer. LLM has the same disadvantages as writing it yourself or the hosting provider writing something themselves. It might have more features, make a better fit and be more flexible, it isn't [say] wordpress.
loading story #50559859
loading story #50558273
Obviously Go and Rust are more modern and performant languages, but they simply can't compete with the versatility of PHP and its ecosystem for a lot of use cases. Many web applications need a large part of the built-in functionality of PHP and one of its frameworks (Laravel or Symfony) in a tightly integrated application. Implementing one part at a time in Go or Rust is a viable option now for some, but far from all use cases. Time is better spent using that same LLM to use Laravel to its fullest.

Your career having moved on from CMS stuff in PHP is not really a good measure for what people actually need : )

To be honest, the PHP "ecosystem" is on par, or even worse than npm (javascript) is. I rarely see as low quality code as i have seen in php, 90-95% of composer packages are just horrible, and most would never pass our QA.

There is a handfull of "ok i guess we can use this" packages, but they also tend to be slow and java-esque horrible class based needles abstarctions all the way down.

I don't think the availability of low quality packages is an argument against either ecosystem. What counts is the availability of high quality packages like the PHP-FIG ones as well as Symfony components and the Laravel framework.
loading story #50559385
loading story #50561347
loading story #50558375
loading story #50558284
loading story #50558296
loading story #50560155
loading story #50559898
loading story #50558588