Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
What are those LLM-friendly patterns? Wouldn't upgrading the existing codebase with a LLM be easier than compiling PHP from source?
Replies (1)
But it’s obvious that modern web frameworks now increasingly have a code pattern with simpler flow of control, fewer inversions. Compare the architecture of an Express or Gin app with the architecture of a database-CMS-backed app like Wordpress. Routes in closures, fewer class inheritances, flow of control is not altered by configurations held in databases, etc. The common pattern in web app frameworks tends not to be particularly MVC, either.
(This customer’s app is not WP but it does come from the CMS era; it’s not Laravel either)
FWIW, configuring PHP for compiling from source probably is something the LLM can plan out from phpinfo(). I didn’t think of this last time, but then the installation I was replacing had some capabilities I know (but the code would not show) were unused/different.
Having gone through it once I have the configure parameters saved, but I suspect even a modest LLM can reproduce them from the configuration. Nevertheless it’s not difficult, it’s just annoying.