Is it better for front-end engineers to learn Node. js or PHP?

Source: Internet
Author: User
Front-end newcomers, self-taught front-end for half a year, is an entry. But I have no idea about the backend. if I want to know the backend knowledge and help my future work, I 'd like to learn Node. js or PHP. I 'd like to ask some people to give me some advice. Don't tell me to learn both of them. I will learn one and I will learn the other at a time. first, I will learn one. Front-end newcomers, self-taught front-end for half a year, is an entry. But I have no idea about the backend. if I want to know the backend knowledge and help my future work, I 'd like to learn Node. js or PHP. I 'd like to ask some people to give me some advice. Don't tell me to learn both of them. I will learn one and I will learn the other at a time. first, I will learn one. Reply content: as a front-end, if you can ask such a question, it means you like PHP very much. If you are interested or have the energy, learn about both of them. Learn Node. js is helpful to the front-end. if you study it in depth, you will introduce a series of technical stacks, including but not limited to jade, ejs, less, express, mongodb, Mongoose, npm, and gulp, modular, middleware, WebSocket, Socket. io, RESTful architecture, testing Mocha + shoshould. PHP, such as js and bootstrap, is the way for front-end engineers to move to the Server;
Node is the future for front-end engineers to move to the Server.

And look at what the company uses. What is the foundation of the subject computer? Learn the http protocol first. Otherwise, you may feel this kind of dog belt error at the front and back ends... Don't ask me how to know. I still wrote about the java backend in college, but I haven't studied the http protocol in depth!
By the way, it is easy for nodejs to start a service. The front-end skills are essential. if you study it in depth, asynchronization is a pitfall. no matter what language you want to learn, you can take it step by step. Php is the best language in the world. js will govern the whole universe, depending on what you want. if you want to govern the world, it is useless to learn the skills to govern the universe. if you say so much, php is a website, and node is a platform. if you want to learn php for a website, if you want to learn more about node
P.s. php Sima The rest of the world is wrong... and we are right...
But I write ruby. if you are looking for a job, or php, node is currently very popular among developers, But in actual development or php, are you sure you are on the frontend path? It's all about shaking up and learning what you are most likely to use. There is no doubt that it is node, but it cannot be used to play JavaScript.

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.