Php and Node.js which is good for back-end, cause I was using php before but now thinking of switching to JavaScript back-end | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Php and Node.js which is good for back-end, cause I was using php before but now thinking of switching to JavaScript back-end

15th Jul 2021, 5:05 PM
Okunola Opeyemi Ayomide
Okunola Opeyemi Ayomide - avatar
2 Answers
+ 3
Both are good in their own right. Ultimately, it just depends what you're trying to accomplish overall. Most things can quickly/easily be accomplished with PHP, and if you're joining in on an existing project that isn't using Node, then it'll also be useful since many are running on Apache web servers. If you have a larger project, NodeJS is more scalable and capable of a bit more in that regard, but that isn't to say it's any less capable for small projects. So just assess what your objectives are and then that'll determine which tool is best for you to utilize to accomplish your goal. It doesn't hurt to know and master both.
15th Jul 2021, 5:47 PM
Jakko Jak
Jakko Jak - avatar
+ 2
You are right. NodeJS is in hype now. And paid well. But it is quite difficult than PHP
15th Jul 2021, 5:56 PM
Shadoff
Shadoff - avatar