+ 2
PHP 7 vs Node.js
Which one to choose and why?
4 Answers
+ 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.
+ 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.
0
How do I code on python 3 it's not scripting a run correctly
0
For scripting on a run 3 script and a code that isnt scripted