What are the pros and cons of node. js compared to PHP? Will the future replace PHP as the best language?

Source: Internet
Author: User

Reply content:

Immature programmers are inconstant, considering only technical issues. Market is rational, considering the ecology of language, deployment is difficult, solution maturity, recruitment costs and other factors. Many languages can replace PHP, but PHP is not "required" to be replaced by which language. I think I have answered your question. I wrote PHP for more than two years, when the framework used was laravel
Later I gave up PHP, fought Nodejs, and then is all kinds of cool, not to mention node performance is much higher than php,node of various NPM packages and modules far more than composer and convenient, modular development and maintenance of a lot of ease;
PHP is just for the Web server programming, and Nodejs can do far more than that, there are at least the most obvious when a lot of development tools and CLI is written by node, Grunt,gulp,yomen,bower,cordova, and so a lot of Someone also applied Nodejs to the hardware project, developing desktop software? We have node-webkit or cross-platform;

On the performance of PHP is certainly not as NODEJS, 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 trend will be slow abroad for many years, when the foreign very popular PHP when the most popular in the country may be / http ASP Or Java, now the domestic PHP most popular (to be honest, the job on the job site PHP position now seems to be second only to Android Pay is also high), foreign has set off a python, nodejs craze;

Although praised so many Nodejs, but I am going to next project completely use go language, later also deep go language, on my personal point of view, node although now with the cool, but to my own development and the field of application of both see go language is a more suitable for my more promising language The Lord must have never heard of swoole,node. Although good, JavaScript language is too ugly, and split. The original node. JS is a language, PHP is the best language in the world. C + + So many people have been scolded for so many years and have not been replaced
VB is not as we imagined the extinction, but each time in the first 10 ( / http vb.net
Do not worry about PHP will die, PHP is not dead and will not affect the NODEJS hot on the production environment, I choose PHP, will not choose node. js. Of course, for the time being, the future? Who knows? A fast track approach language to achieve the goal is good ah, the business of the pursuit of technology update is not putting the cart before the horse. Jser a lot of, instead of PHP casually, irreplaceable field is replaced by Golang. node. JS is not a language, just a JavaScript application on the server side

JavaScript is completely possible to replace PHP. Actually very simple, very useful. But there are too few people in the country to know. Is Nodejs really a language? Nodejs is a high-speed development of some people choose to use the natural alternative to some of the original technology naturally also robbed part of the site is an intruder the urgent matter is his new don't say replace others only in part of the territory can 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.