+ 13

Can Node.js replace PHP ?

I learned HTML/CSS/JS and jQuery, now... for the back-end development can i replace PHP to Node.js?

3rd Apr 2017, 2:51 PM
Maz
Maz - avatar
10 Respuestas
+ 29
Node.js is a platform that made a client-side language like javascript,to be used in back-end application purposes,something very closely similar to what PHP and other back-end languages does. But,a client-side language dependent platform like node.js ,is not strong yet to replace a complete programming language (PHP for instance) itself.. I suggest you learn PHP and node.js both,and use them in small projects to find the differences. I am not an expert,and This is totally my own opinion.please point out if I said anything wrong.
3rd Apr 2017, 3:50 PM
ElricTheCoder
ElricTheCoder - avatar
+ 18
@Malick definitely PHP especially because i'm developing on WordPress, but it might be different for you. If you don't want to try both of them, PHP covers the 99% of your needs and i still prefer it. It's better in terms of documentation, you'll find much more stuff about PHP, btw there are those who think PHP is dying, take in consideration that anyone have a different point of view based on their experience.
8th Dec 2017, 6:05 PM
Maz
Maz - avatar
+ 10
I ever heard from someone. He said "PHP is useless" So.....Can Node.js replace PHP..... I think it's can. Not only replace can tell "take over"
3rd Apr 2017, 2:54 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 8
i dont really like any frame works go for php 👍😊 cuz i like manual works ... its my openion btw you are a professional coder and so i cant really suggest u you choose what u think is better choice ..
25th Dec 2017, 3:31 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 7
of course its personal preference. About global dominant back-end Language for future, its hard to tell.
3rd Apr 2017, 4:09 PM
Agus Mei
Agus Mei - avatar
+ 7
Thanks to all for the answers, i will learn PHP for first and then Node.js ^_^
3rd Apr 2017, 5:24 PM
Maz
Maz - avatar
+ 6
essa eu não sabia, muito obrigado pessoal
4th Apr 2017, 4:29 AM
Daniel Oseias Muller Michels
Daniel Oseias Muller Michels - avatar
+ 4
"Comparing a Language (PHP) with an Environment (Node) is not really helpful. Compare JS with PHP it will end in “PHP is only on the Server Side and JS is on the Server and the Client Side – Point for JS”. ... But you can use PHP (Server Side) and JS(Client Side)."
3rd Apr 2017, 3:10 PM
Eranga
Eranga - avatar
+ 4
@Maz thank you for the feedback, I recently started learning PHP and I'm really having fun with it, it made me understand some things that I always confused in JS... I have also gone through a lot of articles regarding PHP and Node... So I have decided to start with PHP and I'll learn about Node too, just so I don't miss out... As long as WordPress is alive and keeps thriving PHP will never die(just something I read).
8th Dec 2017, 6:24 PM
Malick
Malick - avatar
+ 2
This question is exactly where I'm currently at.. so can I ask you, which between the two of them have you found to be more useful?
8th Dec 2017, 2:53 PM
Malick
Malick - avatar