+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

3/30/2020 12:17:52 PM

Syed Rajin

39 Answers

New Answer

+9

JS better before the PHP 👍

+5

Javsscript

+5

Top 25 Websites to learn Coding ⚡https://www.codecademy.com/ ⚡https://www.udemy.com/ ⚡https://www.edx.org/ ⚡https://www.coursera.org/ ⚡https://www.codewars.com/ ⚡https://www.freecodecamp.com/ ⚡https://github.com/ ⚡https://www.theodinproject.com/ ⚡https://www.khanacademy.org/ ⚡https://ocw.mit.edu/index.htm ⚡https://www.udacity.com/ ⚡https://www.codeavengers.com/ ⚡https://davidwalsh.name/ ⚡https://tutsplus.com/ ⚡https://www.sitepoint.com/ ⚡https://www.html5rocks.com/en/ ⚡https://hackpledge.org/ ⚡http://blog.agupieware.com/2014/05/online-learning-bachelors-level.html ⚡http://www.crunchzilla.com/ ⚡https://dash.generalassemb.ly/ ⚡https://www.codeschool.com/ ⚡https://teamtreehouse.com/ ⚡https://www.udemy.com/user/infiniteskills/ ⚡https://www.lynda.com/ ⚡https://codehs.com/

+4

JS first is usual but doesn't have to be.

+3

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.

+3

Depends what you want to do. If backend, I would say start with PHP. Otherwise JS.

+2

javascript before php

+2

JavaScript I guess

+2

JS is better

+2

Javascript a clever choice

+2

Javascript

+2

Js is better i think it's easier than php and use more than php

+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

+2

If you want to use laravel so you must learn php

+1

Start with PHP since your target is a social media site.

+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 .

+1

javascript is better and easier to start off....

+1

+1

+1

If you want to make social network site you need: PHP SQL About JS i dont know