+ 2
After learning html and css, should i learn Php or JavaScript for backend web development?
I'm gonna learn both eventually as it stands, but i wanna learn the one best paired with html and css first... or whichever one is easier to learn...
8 Answers
+ 23
actually backend can be written in more or less any language.
PHP is specifically designed for it, Python has a number of frameworks to help, NodeJS (Javascript) is quite well suited for the task as well, C# has MVC, Ruby has Rails....
However given that you are a beginner and need to learn JS anyway for your frontend I would recommend that you use NodeJS+Express for backend in the beginning, because that saves you from having to learn a brand new language for the task. If you don't like it you can always switch at a later stage đ
+ 6
PHP is pretty good, but so is JS. It depends on what ypu want to do with web. Would you mind sharing so that my advice can be more concise?
+ 6
it's up to you JS, Ruby, Java or others if you are just learning for fun...but surely php and mysql in terms of business..i say it business or for your living..God bless
+ 5
You can use JavaScript to get form response too.
+ 2
Pegasus i thought of the question after completing lesson 15 of html. it said you needed backend knowledge to setup a destination for submitted <form> data
+ 1
Pegasus Ok, thanks!
I'd also like to ask what backend language you'd think would be better for building websites (like basic company websites) that are mobile friendly?
+ 1
Learn NodeJs
+ 1
thanks for all the replies! i think I'll go JavaScript and then php
all the other language will just be ones I'll pick up later