TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

PHP Is Legacy, in 2024

27 点作者 ezequiel-garzon6 个月前

12 条评论

anonzzzies6 个月前
Of course it is not. I see more clients moving back to it or moving to it for the first time. People, rightfully so imho, are starting to hate nextjs (and react is getting a bit of that). It is so much easier to get something running without errors in the logs, for <i>years</i> at a time, and without weird frontend bugs with laravel than it is with nextjs&#x2F;react. And people are starting to see that; usually after having multiple projects in nextjs over the years, teams changed and disappeared and then someone redeploys, nothing works and there we are.
评论 #42227628 未加载
glimshe6 个月前
The meme stacks you see every week on HN will come and go, but PHP will stay.
robertlagrant6 个月前
&gt; the closest someone will probably give as an explanation is a massive rambling blog post written years ago<p>That blog post is long, but definitely not rambling, and unlike the above quote, is done in good faith. PHP night have improved, but if it has it will likely have used that blog post as a reference.
评论 #42227537 未加载
sltkr6 个月前
Kinda ironic that because of this post I went to check out php.net for the first time in like a decade, and it turns out the site is down. Doesn&#x27;t exactly instill confidence that the project is alive and well.
评论 #42227923 未加载
评论 #42227590 未加载
评论 #42227567 未加载
评论 #42227533 未加载
sam_lowry_6 个月前
One thing PHP got right is its &#x27;PHP must die&#x27; mode of operation where every request spawns a new process (ok, not a process anymore but still an isolated execution environment that lasts until the response is served.<p>Java, Ruby, C#, etc are application servers and this massively complicates everything.
评论 #42227921 未加载
评论 #42227909 未加载
评论 #42227800 未加载
johnisgood6 个月前
The title is clickbait (no surprise there!).<p>PHP has its warts, but it also has uses and it is often still my go-to language when developing for web. That is, when I do not go for OpenResty (Lua) or Elixir (Phoenix). Sometimes what I really want is PHP.
benterix6 个月前
I guess the people who flagged the post have read just its title.
bratao6 个月前
I hate PHP as a language. However as an Infra guy, it is very performant and easy to scale. Laravel is also an incredible framework.
评论 #42229385 未加载
mdp20216 个月前
Should you re-submit it, put the original title within the quotes for &quot;read interpreting, not literally&quot; rhetoric,<p><i>&quot;PHP is Legacy, in 2024&quot;</i><p>This is an exception that calls to be editorialized. The original title is as-if a quote, which the original writers omitted to mark as such.
naranha6 个月前
Stuff becomes legacy not because of the language, but because of outdated libraries or frameworks or unavailable&#x2F;uninterested developers. For me PHP is legacy, because I refused to work on PHP codebases, except I find someone who&#x27;s willing to do the job for me.
lambdadelirium6 个月前
Clickbait: it is not
navigate83106 个月前
Uh no, WordPress is here to stay.