WHCIH IS BETTER PHP OR NODE.JS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

WHCIH IS BETTER PHP OR NODE.JS

Can anyone help me to figure out a back-end language for web development.

20th Feb 2018, 2:32 PM
Sʜʀᴀᴠᴀɴ.M
Sʜʀᴀᴠᴀɴ.M - avatar
2 Answers
+ 3
In the long run, I would focus on mastering JS and NodeJS over PHP. PHP is a very capable backend language, and also one that I enjoy as well, but if you look far enough into the future, it's very evident what direction things are going at this point in time. You can't go wrong with either. NodeJS is much more efficient and scales better than PHP does with most things. It's much quicker, so if you end up dealing with a larger system than expected, you'll see a bigger performance gain from NodeJS over PHP. Many people are still using PHP though, so if you're seeking out a job or position that specializes in PHP, then obviously learn PHP also. Personally, I know both of them so I have the appropriate tools for whatever I find myself working on. Sometimes you don't have to debate and can just learn both.
20th Feb 2018, 2:45 PM
Fata1 Err0r
Fata1 Err0r - avatar
0
Learn both, so that you know why and when using either. personally I find php convenient for minimal websites, but would go for nodejs for modern,larger scale solution .
20th Feb 2018, 3:17 PM
ifl
ifl - avatar