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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Taking PHP Seriously

17 点作者 Mahn超过 7 年前

6 条评论

VintageCool超过 7 年前
When they describe performance improvements of HHVM over the existing PHP interpreter, are they comparing HHVM to PHP 5.6 or PHP 7? There were some incredible performance improvements going from 5.6 to 7, and most of the HHVM hype that I see doesn&#x27;t acknowledge this.<p><a href="https:&#x2F;&#x2F;wiki.php.net&#x2F;phpng" rel="nofollow">https:&#x2F;&#x2F;wiki.php.net&#x2F;phpng</a>
评论 #15263078 未加载
devwastaken超过 7 年前
As someone who&#x27;s dabbled in PHP for various ancient frameworks such as Mediawiki and Wordpress, I&#x27;m unsure why people knock on &#x27;php&#x27; itself. The frameworks I just referenced may not be that great, and may require a lot of work to make it acceptable. But outside of that, there&#x27;s a huge amount of development theory in the frameworks used to actually build your own websites, such as Symfony. I mean, take a look at the quick guide <a href="http:&#x2F;&#x2F;symfony.com&#x2F;doc&#x2F;current&#x2F;quick_tour&#x2F;the_big_picture.html" rel="nofollow">http:&#x2F;&#x2F;symfony.com&#x2F;doc&#x2F;current&#x2F;quick_tour&#x2F;the_big_picture.ht...</a><p>Or any other pieces of documentation. Its very well made, and demonstrates proper creation of websites using seperation of logics and configurations. And, you don&#x27;t have to use symfony, there&#x27;s tons of others that impliment the same kind of theories, which is why i think PHP has stuck around for so long and is improving like every other language. It has the ability to be formed into these seperations and logics. Much like how C# is able to give you a much better separation of data and objects than say C++. Perhaps thats something that could be done in any per-request response language like PHP, but it has withstood its test of time when properly done.
评论 #15263091 未加载
MarkMMullin超过 7 年前
OK, non-productive and snarky, but I always thought this hit the spot with Personal Home Page -- <a href="https:&#x2F;&#x2F;toggl.com&#x2F;programming-princess" rel="nofollow">https:&#x2F;&#x2F;toggl.com&#x2F;programming-princess</a>
apple4ever超过 7 年前
I love PHP, and I never get all the hate for it. This article makes a lot of sense to me.
raarts超过 7 年前
[2016]
评论 #15264118 未加载
nickrio超过 7 年前
The problem of PHP is it&#x27;s a old &amp; narrowed language. It been designed to run in as a Web Service dedicatedly, and of course limits it&#x27;s potential.<p>It&#x27;s just like no one had motive to make HTML turing-complete. A language dedicated as a web script is good enough as long as it output web page, right? :(<p>BTW:<p>&gt; I claim that PHP’s simpler “think; edit; reload the page” cycle makes developers more productive.<p>Does this can be simulated by automatically recompile and restart the application? I don&#x27;t think it can be an serious advantage here.
评论 #15263420 未加载