+ 2

PHP 7 vs Node.js

Which one to choose and why?

18th May 2018, 7:05 PM
Tigran Harutyunyan
Tigran Harutyunyan - avatar
4 ответов
+ 6
I'd go with NodeJS. Performs better, isn't on the decline, scales better than PHP, and allows you to carry over your JS knowledge since it's JS based. Overall, it's the better option for most things, especially for stuff that plans to increase in size/traffic or is already at that point.
18th May 2018, 7:10 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
Despite that fact PHP is very popular in web dev, for beginners I would say that NodeJS is better in many cases and it's newer platform and more progressive. PHP is not bad, every VDS supports it with no issue, but when you are dealing with realtime stuff, websockets, async execution, for all this purposes PHP becomes a headache. With Node you don't have to learn one more syntax, just some of backend framework api. Furthermore, you can use Electron to make even cross platform apps with Node. Also it is better to be familiar with Linux for Node but required.
18th May 2018, 7:50 PM
BugBuster
BugBuster - avatar
0
How do I code on python 3 it's not scripting a run correctly
10th Apr 2020, 2:23 AM
Daniel Reece
Daniel Reece - avatar
0
For scripting on a run 3 script and a code that isnt scripted
10th Apr 2020, 2:24 AM
Daniel Reece
Daniel Reece - avatar