On the survival and death of PHP, and whether node. JS will replace php!?

Source: Internet
Author: User

Reply content:

. NET instead of PHP? Java replaces PHP? Python replaces php? Now to node. js to replace PHP, but PHP is still strong, the market share of the web is still very high, say how many years, other languages can come to some practical? Just a WordPress can not Ko, talk about what to replace? NO. Fuck No. I just think it's a little ridiculous.
Each language has its own application scenario. In fact, most languages can be substituted for each other, written in one language program, in fact, can be implemented in another language, but the language itself is difficult to completely replace, cabbage radish, each their own.
The advantage of PHP is that grammar is easy to learn, and the smoothness of learning curve may be the first of all languages. Compared to PHP, the only advantage of JS is the syntax, there are alternatives to other aspects. And in the deployment of concurrency and so on, PHP has advantages, JS advantages and disadvantages are single-threaded multi-process, this mode is like a sword, play bad will hurt themselves, and PHP will not have these troubles.
So in terms of the company to choose PHP More, node's popularity and programmer's laziness about, will node I completely have no interest in shell script there are various application scenarios, not to replace, PHP in doing blogs, forums and other aspects have the advantage, casually find a program on the line, And there are many virtual hosts that support PHP.
the need to replace or be determined by demand. seriously, I think at least for now, it is more appropriate to make an intermediate layer through NODEJS, using Nodejs's high concurrency advantage to add a bridge between PHP and the final page, on the one hand, to achieve thorough front-end separation and improve access performance on the other.

I can only secretly tell you, this is impossible!

The person who is always shouting node can replace PHP, usually just learned node, and then found that node in some places faster than PHP, and then the performance as an excuse to say PHP low! This kind of person is immature and immature, the analysis problem is not comprehensive enough! PHP in the Web supremacy, can not be replaced!

In general, the two sides can only be the advantages and disadvantages of each other, no one is the best, only the more appropriate to say!

No.
Nodejs the kind of callback that is beautiful like a painting .... Asynchronous back out? I nodejs, but I really do not know when in the country can be large-scale adoption of the language by the company, can not replace the rest assured that PHP will not leave us, PHP is excellent,
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.