What should I learn PHP or Node js? I know javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What should I learn PHP or Node js? I know javascript

Please Help me... I'm confused

14th Aug 2020, 4:26 PM
Mohd Saqib
Mohd Saqib - avatar
6 Answers
+ 15
Mohd Saqib You can learn PHP first if you want to make a website or something. You can host PHP codes on shared hosting and they're​ cheap. But you cannot host NodeJS codes on a shared hosting. But you can learn NodeJS since you have already learned JavaScript.
14th Aug 2020, 4:41 PM
Simba
Simba - avatar
+ 5
Both of them are the same Simba and Ore said using php is cheaper than NodeJs and OOP in PHP will help you lot because your code become clear and structed , however NodeJs is best for create APIs and routing I have coded in both of them I love both of them I can't say witch on is better but I prefer to start with php and learn concepts of http and requests and sessions&cookies after that you start NodeJs
14th Aug 2020, 9:52 PM
Ali
+ 3
As for me node js is better
14th Aug 2020, 4:29 PM
_yaroslavv [online_everyday]
_yaroslavv [online_everyday] - avatar
+ 3
PHP good lang, but 50% more developers choosed NodeJS. After PHP learn NodeJS too. You'll understand wich's better Happy Coding ☺ </>
16th Aug 2020, 1:08 PM
Bob
Bob - avatar
+ 2
Whatever you love man. I find OOP a good aid to backend development so I prefer PHP.
14th Aug 2020, 4:32 PM
Ore
Ore - avatar
+ 1
Firstly learn the language which is easy to understand for you.
14th Aug 2020, 4:30 PM
༄✿Ṧʜɪᴠᴀᴍ™Pandey°
༄✿Ṧʜɪᴠᴀᴍ™Pandey° - avatar