+ 18

Which one should I learn first? JavaScript or php?

Web development

16th May 2017, 8:08 PM
ONYOBI MICHAEL
ONYOBI MICHAEL - avatar
89 Réponses
+ 48
If you aim at Webdevelopement as a whole, then it doesn't matter because you will need both(: Javascript is for Front End Developement ( Browser interaction ) and PHP is for Back End Developement ( Server ) Edit: For the people that disliked my answer because I said he needs PHP: He was asking about php + JavaScript and not about nodejs or anything like that. So I told him he will need both if he want to do front and back-end developement. No need to dislike because of that lol. It's like saying "buy a boat" when asking "Should I buy a car or a motorcycle first?"
16th May 2017, 8:53 PM
Tim G
Tim G - avatar
+ 35
Really depends, JavaScript is for adding client-side functions and interactive elements while PHP is more protected and works with databases such as SQL. A highly-graduated professional recommended me to do it in this order: - HTML - CSS - JavaScript - SQL - jQuery - Ruby - PHP ( For combining all courses)
18th May 2017, 7:45 AM
Avatar.Connect
Avatar.Connect - avatar
+ 11
I sugest JavaScript first.
16th May 2017, 8:11 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 10
Javascript
18th May 2017, 6:00 AM
NimWing Yuan
NimWing Yuan - avatar
+ 9
Do you want to make games?
16th May 2017, 8:09 PM
Tim G
Tim G - avatar
+ 9
It doesn't matter which one you learn first, either way you can become a full-stack web developer, by attempting javascript first you can highly target the client-side development but javascript has evolved to take care of the server-side development as well, the biggest advantage of learning php first would be that you're gonna be acquainted with server-side scripting before you know enough javascript!!
18th May 2017, 3:29 AM
Jaineshkumar Patel
Jaineshkumar Patel - avatar
+ 8
u should learn first JavaScript..its also come first😀 also its frontend but php is backend.so learn php later.
20th May 2017, 7:03 PM
Gregor Duff
Gregor Duff - avatar
+ 7
Learn Javascript first. Learn the basic ( syntax, language ecosystem etc) as much as you can. Don't worry about back-end yet. If you learn Javascript, you can use NodeJS for the back-end. Javascript covers both front-end and back-end.  You can always learn a language for back-end later if you want. :)
19th May 2017, 4:32 PM
Apel Mahmod
Apel Mahmod - avatar
+ 7
You should learn javascript first. It's one of the main languages for web development.
21st May 2017, 2:05 AM
Ramon Berenguer
Ramon Berenguer - avatar
+ 5
OK, thanks
16th May 2017, 8:54 PM
ONYOBI MICHAEL
ONYOBI MICHAEL - avatar
+ 4
javascript...bcoz its frontend
18th May 2017, 1:33 PM
‹Um@›M@hesw@r
‹Um@›M@hesw@r - avatar
+ 3
I want to go for web development
16th May 2017, 8:43 PM
ONYOBI MICHAEL
ONYOBI MICHAEL - avatar
+ 3
I think you should learn php firstly because you need to learn algorithm of codes best wishes friend.
17th May 2017, 3:07 PM
Salih Bozkaya
Salih Bozkaya - avatar
+ 3
I learned Javascript first and find it more "fun". I think it's also easier to use, particularly initially. Outside of this site, you have to download php if you want to use it and likely will want to get it connected with mySQL and a server. Javascript files just need to be sourced in an HTML file, there are other sites which allow you to do Front End Websites with Javascript and its even the default language when you use the <script> element in html. But Php can do some pretty awesome things, so it's really up to you.
17th May 2017, 4:54 PM
Matt
Matt - avatar
+ 3
if you plan is to become a web developer, javascript is necessary, but not php. you can use js for backend as well with node.js
18th May 2017, 7:19 AM
droste
droste - avatar
+ 3
learn JavaScript first then learn php then sql
18th May 2017, 8:41 AM
Andrew Grant
Andrew Grant - avatar
+ 3
html, CSS, javascript, php, and so on......
18th May 2017, 9:38 AM
Mugfirfauzy Siregar
Mugfirfauzy Siregar - avatar
+ 3
javascript
18th May 2017, 1:35 PM
Jasper Diongco
Jasper Diongco - avatar
+ 3
if you have sql experience you can learn js and php together
18th May 2017, 2:01 PM
Manikandan
Manikandan - avatar
+ 3
u should learn both coz they r not their substitute.
19th May 2017, 1:50 PM
Sunil Tiwari
Sunil Tiwari - avatar