Php or javascript, which one to learn first? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Php or javascript, which one to learn first?

Should i learn php or javascript first?? I want to make a social networking site and i am gonna use laravel

30th Mar 2020, 12:17 PM
Syed Rajin
Syed Rajin - avatar
37 Answers
+ 14
JS better before the PHP 👍
1st Apr 2020, 12:12 PM
Fakhroo🙋‍♂️👨‍💻
Fakhroo🙋‍♂️👨‍💻 - avatar
+ 4
It is better to learn both of them. Since social networking sites include messaging and posting, so a database is required. PHP +MySQL is quite nice for it. But ultimately both of them is necessary.
30th Mar 2020, 12:34 PM
NightFox
NightFox - avatar
+ 4
JS first is usual but doesn't have to be.
31st Mar 2020, 1:19 AM
Sonic
Sonic - avatar
+ 3
Depends what you want to do. If backend, I would say start with PHP. Otherwise JS.
1st Apr 2020, 7:42 AM
Serge Poghosian
+ 3
Js is better i think it's easier than php and use more than php
1st Apr 2020, 8:52 AM
Girly
Girly - avatar
+ 2
javascript before php
31st Mar 2020, 7:53 PM
Mayor West
Mayor West - avatar
+ 2
JavaScript I guess
31st Mar 2020, 7:53 PM
Stephanie Esin
+ 2
JS is better
31st Mar 2020, 8:15 PM
Nafas Ebrahimi
+ 2
Javascript a clever choice
1st Apr 2020, 3:42 AM
𝘿𝙚𝙢𝙖𝙧𝙘𝙝 𝘿♞
𝘿𝙚𝙢𝙖𝙧𝙘𝙝 𝘿♞ - avatar
+ 2
Javascript
1st Apr 2020, 4:55 AM
Profoxnowolves YT
Profoxnowolves YT - avatar
+ 2
[LAST ANSWER] A lot of people are posting PHP/javascript with opinions. But actually see what the question is asking, he wants to develop a social media site. So, POSTING+CHATTING etc features are necessary which requires PHP for database. Facebook, developed by Marc Zuckerberg was made in PHP. So, he should start with PHP. Again, to add advanced features and to make the website responsive, JavaScript is also necessary. So, all in all, you have to learn both of them if you want to make an excellent website. Visit these links for further information: https://www.sololearn.com/discuss/1694895/?ref=app https://www.sololearn.com/discuss/1461850/?ref=app https://www.sololearn.com/discuss/999579/?ref=app https://www.sololearn.com/discuss/2059489/?ref=app https://www.sololearn.com/discuss/1142936/?ref=app
1st Apr 2020, 9:07 AM
NightFox
NightFox - avatar
+ 2
If you want to use laravel so you must learn php
1st Apr 2020, 9:35 AM
Janny Michel Rakotoarimanana
Janny Michel Rakotoarimanana - avatar
+ 1
Start with PHP since your target is a social media site.
30th Mar 2020, 12:42 PM
NightFox
NightFox - avatar
+ 1
Learn both is useful for the future. Now talking about Social networking site. It depends on the function of the site .basically JavaScript will be needed as with JavaScript functions users enjoys your site and makes the user experience top notch .
31st Mar 2020, 5:59 PM
Gracious
Gracious - avatar
+ 1
javascript is better and easier to start off....
31st Mar 2020, 6:03 PM
Ayush
Ayush - avatar
+ 1
Javascript
31st Mar 2020, 6:39 PM
Anderson Magalhães
Anderson Magalhães - avatar
+ 1
Both
31st Mar 2020, 7:00 PM
Luis José López Delgado
Luis José López Delgado - avatar
+ 1
Ofcourse Javascript. You will find a great variety of applications of JS.
1st Apr 2020, 3:19 AM
Aditya Agrawal
Aditya Agrawal - avatar
+ 1
Java, But you should do HTML first, unless you only want to do movement and interaction, and not content of words.
1st Apr 2020, 4:02 AM
Bullet
Bullet - avatar