All the 2019, PHP is the world's best language you

  Moment, if you open a search engine, search keyword "PHP outdated", can be found 7.14 million relevant results.

  Among these results, there is no shortage in 2016, the results of 2018, saying that PHP has become obsolete.

  Now in 2019, the once self-proclaimed "best language in the world" PHP, how the situation?

  Programmer named Brent's brother, wrote a blog article about the situation in PHP 2019.

  He said that now the PHP will actively develop new versions each year, from 2004 since the release of PHP 5 performance has improved two to three times.

  Moreover, there are very active ecosystem, there are a variety of frameworks, packages and platforms. Over the past few years, PHP also add a lot of new features, the development of language and so on.

  He hoped that everyone give up prejudices, now under new understanding of PHP.

  After the blog articles are po to HackerNews, there are more than 700 half-day heat, causing nearly 400 discussion.

  It was said that he still does not like PHP code and architecture, because the code is difficult to see, or built around a static method, is not easy to read.

  It was also to the point of praise, saying that from the ecosystem, performance, language itself, PHP development in recent years was really good.

  So, PHP in the end what now? Take a look.

  PHP Performance: Version 7.0 upgrade two to three times

  Now, PHP has been updated to version 7.3, it will end 2019 with a new version 7.4, later upgraded to version 8.0.

  Brother expressed, PHP5.0 version when released in 2004, its performance has reached average. Upgrade to version 7.0 when they start from scratch again rewrite the core part of running WordPress 5.0, the performance two to three times.

  In Web applications, PHP and other languages ​​are also comparable, in some cases, performance is also better.

  Although compared with C and Rust, PHP or slightly inferior, but much better than Rails or Django, performance is comparable ExpressJS.

  Framework and ecosystem: more than just WordPress

  In the discussion of HackerNews, many people have mentioned, because there's just let WordPress PHP had some sense of presence.

  But the little brother said in a blog, WordPress PHP must not be representative of the current ecosystem.

  In general, PHP has two major Web application framework, namely Symfony and Laravel. Now do development using PHP, basically would choose one of them.

  Behind these two frameworks, there is a huge package and product eco-system, from the management to the independent panel and CRM software packages, analytical tools, integrated payment and so on.

  While these frameworks applicable to the actual development, but only if the need for content management, WordPress and CraftCMS is the better choice, and they will be further improved.

  In addition, a method to measure the current state of PHP ecosystem is to look at the situation Packagist, which is the main repository of PHP packages Zhengzhou infertility hospital: http: //wapyyk.39.net/zz3/zonghe/ 1d427.html Zhengzhou infertility hospital Which is good: http: //wapyyk.39.net/zz3/zonghe/1d427.html

Guess you like

Origin www.cnblogs.com/sushine1/p/10930267.html