What are the advantages and disadvantages of node. js over php? Will php be the best language in the future?

Source: Internet
Author: User
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... Reply: immature programmers only consider technical issues. The market is rational, considering the language ecosystem, deployment difficulty, solution maturity, recruitment costs, and other factors. Many functional languages can replace PHP, but PHP is not "required" by which language to replace. I want to answer your question. I have been writing PHP for more than two years. the framework used at that time was laravel.
Later, I gave up PHP, switched to Nodejs, and then made it a great deal of fun. not to mention that node performance is much higher than PHP. node's various npm packages and modules are far more convenient than composer, modular development and maintenance are much easier;
PHP is only born for web server programming, and nodejs can do more than that. at least most obvious, many development tools and cli are written by node. grunt, there are a lot of gulp, yomen, bower, cordova, etc. some people also applied nodejs to hardware projects to develop desktop software? The node-webkit is still cross-platform;

In terms of performance, PHP is definitely not comparable to nodejs. for specific data comparison, please Google

Of course, in the domestic short-term PHP can not be replaced by nodejs, I always feel that the domestic technology trends will be slow for many years abroad, when the foreign very popular PHP, the most popular domestic May be http://asp.net Or java, PHP is the most popular in China now (to be honest, the job of recruiting PHP on the website seems to be higher than Android now). Foreign countries have set off a boom in Python and nodejs;

Although I have praised so many nodejs nodes, I am going to use the go language in the next project. I will also go deep into the go language in the future. in my opinion, although node is a good tool, however, for my own development and application fields, the go language is a more promising language for me. the subject must have never heard of swoole. although node is good, the JAVAscript language is too ugly, and split. Originally, Node. js was a language, and PHP was the best language in the world. C ++ has not been replaced by so many scolds for so many years.
VB does not die as we think, but every time in the top ten (http://VB.NET )
Don't worry that PHP will die. If PHP is not dead, it will not affect NodeJS popularity. in terms of the production environment, I chose PHP instead of Node. js. Of course, for the moment, the future? Who knows? It would be nice to have a short and fast language to achieve the goal. the pursuit of technological updates in business is not a result of the horse. There are a lot of jser, replacing PHP with anything else, and the irreplaceable field is replaced by golang. Node. js is not a language, but a JavaScript application on the server.

JavaScript is likely to replace php. It is actually very simple and easy to use. But there are too few people in China. Is NodeJS really a language? In the rapid development of Node. js, some people choose to replace the original technologies. some of them naturally compete for some of the sites. it is a top priority for intruders. it is the anti-customer service. do not replace others. only in part of the territory can it become irreplaceable.

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.