+ 4

[node.js] vs [php]

Which one is better ? + why

7th Jun 2018, 7:57 PM
ali
4 Answers
+ 8
I think Node.JS has a gun and PHP only has a knife, so unless PHP is really quiet, NodeJS will probably win between the two. PHP is widely used on many sites today, but the language itself has been on the decline for awhile now. NodeJS is a great languages, is based off Javascript so it's easy learning curve, performs better than PHP and is much more scalable than PHP will ever be. With all of that taken into consideration, I'd say go with NodeJS if you can only pick one, otherwise it wouldn't hurt you as a developer to learn both of them so that you're more well rounded for the various work/projects you'll find yourself in.
7th Jun 2018, 8:04 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 2
Node.js has become wildly popular. It is in high demand relative to PHP, which has been in decline now for quite a while in terms of market trends. Node.js is great -- you can use it to build web & streaming applications, APIs, etc. And it's not that hard to learn it if you already know JS.
8th Jun 2018, 3:43 AM
Armin
- 1
node js is single threaded , non blocking , super fast thats why node js is favourite now php is is always ond step back with node js
12th Jun 2018, 6:03 PM
Mukul Mishra
Mukul Mishra - avatar
- 2
Какого оператора в PHP не существует? А)!== Б)+= В)!=== Г)>=
8th Jun 2018, 1:08 PM
Игорь Н
Игорь Н - avatar