Is PHP dead?(翻译from Quora)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Is PHP dead?(翻译from Quora)相关的知识,希望对你有一定的参考价值。
Despite the fact that many new languages flourish every year, I would not hesitate to say that php (besides JS) is one of the safest languages in the world in terms of jobs, and will securely guarantee an enormous job market around the world for much longer than 5 years. Here is why.
尽管事实上每年都会有新的语言在发展,但我还是会毫不犹豫的说PHP(基于js)是世界上最安全的工作语言之一,并且还是会继续为世界上庞大的工作市场提供安全。原因如下:
PHP adopts new ideas slowly.
It may sound as being a weird reason for a programming language to keep
up with the contemporary development trends. In fact, what happens is
only proven, polished and time-checked ideas find their way into PHP. As
a result, it is often said that PHP is always late with introducing
what has been used in other languages for some time, but with the
benefit that only usable and most demanded subset of new ideas are
embedded into PHP. This keeps language very simple, which means a lot of
people will prefer it for small and medium projects.
PHP接受新观点慢。对于编程语言来说,保持同时期的发展趋势听起来或许很怪异。但事实上,当前仅表明PHP正在探寻着更加优美的(界面)以及时间戳。这一结果导致了经常会有PHP有时相对于其他语言来说更新更慢的传言,但其实是可用的与普遍需求的子集会被嵌入到PHP当中。这保证了语言的简化并意味着大多数人更喜欢用它来开发中小型项目。
PHP has low entry level.
This means that it is one of the easiest languages to start coding for
newbies ever. Then, once it is adopted by newbies, it often turns out
that this language is enough for a lot of people that do not need
genius, complex, mathematical and scientific features. Result - they
just keep using PHP.
PHP有着较低的门槛。它是开始构建网页的最容易的代码之一,许多人并不需要太多数理化,科学化,复杂化的思想来完成(构建网页),这就使他们还在继续使用着PHP。
Giants use PHP to make lots of money every day. WordPress, which is made in PHP, is a free framework, but WordPress.com
is a commercial WordPress hosting and makes money out of it. Then,
there are tens others like it. Then, there are thousands of websites
selling WordPress themes and templates. Then there are WordPress
commercial plugins, and plugins for those plugins. Now multiply this
business volume by number of other big PHP projects, like shopping
carts, CRMs, issue tracking systems, web analytics... There should be
very devastating processes that last very long (actually for years)
before it could be possible to ruin such a successful and giant
PHP-based industry.
大型公司每天使用着PHP赚许多的钱,由PHP开发的WordPress(博客系统)虽然它的框架是免费的,但是WordPress.com是一个以商业广告盈利的主机,与此同时,还有其他十多家公司像它一样,数以千计的网站出售博客主题和模板,这些都有博客的广告插件。现在这些插件通过捆绑其他大型的PHP项目上像shopping carts,CRMs,issue tracking,web analytics这些网站而巨量增加,除非出现一个持续非常长的毁灭性进展(往往是数年)才有可能去毁灭这一成功而伟大的PHP基础产业。
Number of programming jobs is raising considerably year by year. So not to worry about the raise of popularity of other languages - in numbers, PHP usage is raising too.
每年相当多数量的编程工作都在增加,所以不必去担心其他语言开始流行,在数量上PHP也在增加
20/80.
Only 20% of features solve 80% of the problems. PHP is exactly those
20% in programming languages that covers 80% of all development needs.
There will always be plenty of simple tasks that need to be done
cheaply: landing pages, wedding websites, CV websites, websites for
downloadable products, prototypes of web applications, simple one-page
saas services, and so on. These all are good candidates to be programmed
in PHP.
20/80,百分之八十的问题仅仅通过百分之二十的特点就能解决。而PHP恰好就是这百分之二十的编程语言来解决所有编程开发的百分之八十。经常会有大量的简单的问题需要廉价的解决:登录网址,跳转网址,简历网址,下载产品的网址,应用原型网页以及简单的单页面saas服务等。这些都能通过PHP来很好的解决。
Servers accessibility. The cheapest servers / VPS
for web projects always support PHP. PHP has one of the lowest minimal
requirements to the memory / processor speed.
服务器更加便捷。最便宜的服务器/虚拟服务器在网站项目上通常都支持PHP,PHP已经是占用内存和处理器速度最小的开发语言之一。
In
conclusion, a lot of effort, money and time is still being invested
continuously into the PHP ecosystem worldwide day by day. PHP developers
form a solid layer in the coding workforce; new PHP frameworks,
plugins, themes and tools are being developed and businesses are being
built around them.
结论就是,每天在世界范围内众多的努力,资金以及时间仍旧不断的投资在PHP的生态系统上。PHP的开发人员在代码员工中形成了一个可靠的阶层;新的PHP框架,插件,主题和工具都正在发展,围绕着它的产业也逐渐形成。
This strongly indicates that PHP will be
there alive for much longer than 5 years and will always be a good means
to keep the milk on the table.
这强烈表明了PHP可以顽强的保持最好的开发语言至少五年以上。
以上是关于Is PHP dead?(翻译from Quora)的主要内容,如果未能解决你的问题,请参考以下文章
Is Ruby dead? Hell no! - Analyzing RubyGems stats for 2016
centos 7.0安装的时候出现 pane is dead
LSTM已死,Transformer当立(LSTM is dead. Long Live Transformers! ):上
LSTM已死,Transformer当立(LSTM is dead. Long Live Transformers! ):下
3 Dead from Carbon Monoxide Poisoning This Month in Shenzhen
HBase的Dead节点问题&&Hbase创建表时报“org.apache.hadoop.hbase.PleaseHoldException: Master is initializi