+ 3
WHCIH IS BETTER PHP OR NODE.JS
Can anyone help me to figure out a back-end language for web development.
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.
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 .