I've had people come to me in some private messages and ask me:
"Should I use Node since PHP is outdated?"
I usually respond with:
"Well, PHP isn't outdated. It just comes down to preference in the end of the day."
I know it's preference.. but which is better?
Let's take a look at the statistics:
W3Tech's research tells that roughly 78.9% of the web uses PHP
Another survey from NetCraft also says that 30% of this, is WordPress hosted.
PHP powers a majority of the web as we know it today. If anyone has updated statistics, please make sure to state that in the comments of the post, but this is the numbers I found.
W3Tech's research also tells that roughly 0.8% of the web uses Node
Do not let the statistics decide which to learn though!
Many might now say: "Learn PHP then, because the market is much larger?"
There are people in all areas to work with inside of!
Node is also known for performing better because of speed. It can handle more requests per second, and in general it is faster.
So what do I pick?
Personally, I am using PHP right now, however I believe that everyone should learn both. Others have their opinion, and i'm sure the comments will be world war III in developer arguements between NodeJs professionals (for which I am not) and PHP professionals (I know PHP, but i'm not a professional here either).
All I ask for when you debate is that we keep discussions here informational and respectful and not trash on old development threads and repositories. Keep in mind that technology changes rapidly (which i'm sure you already know) and that people have changed much in opinion over these years.
Let me know what you all are using for your work!