PHP or JS ..? Should i ever need to learn JS for jumping into PHP .. and why ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

PHP or JS ..? Should i ever need to learn JS for jumping into PHP .. and why ?

After HTML/CSS training and understanding i decided to go forward. After a lot of thinking and serching on the web what language is better to learn and why. Some people say that PHP is not good, some people oposite of that , and now i am confused. A appreciate any help..

12th Mar 2018, 12:21 PM
Ilija Pavlovic
Ilija Pavlovic - avatar
2 Answers
+ 2
Currently I would choose JS. With the ecosystem that JS currently has you can use it in the Frontend (React, Angular, Vue, Modifications to the DOM, etc) and you can use it in the Backend (Node.js + Express) without any problem. PHP has a bad reputation on the web, but still has its supporters within it. Currently has some frameworks that have given a new appeal to the language. But it is not something that you must necessarily learn (at least with all the technologies that are available at this moment), and if at some point you need to learn it I am sure it will not take you long to do it.
12th Mar 2018, 6:07 PM
Mickel
Mickel - avatar
+ 4
I thing PHP. Because PHP can connect to your database (server). Most of it's concept are similar to JS. Most of the web in the world use PHP (About 80%).
12th Mar 2018, 1:00 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar