+ 3

Learning of PHP

Hi everyone! I have some questions about studying this language(PHP). I want to became back-end programmer, so I decided learn PHP. But I get advice to learn HTML and CSS first. When I was learn HTML I came across with JavaScript. Does it so critical important to know before study PHP?

1st Oct 2021, 4:19 PM
Andrii Tomkiv
8 Réponses
+ 1
If you want the calculation shown be fast, then you should use Javascript because it does the calculation on the spot but if you have some special secret algorithm that you want no one to see then you shoud choose php because php does the calculation on the server and only sends the output
1st Oct 2021, 4:25 PM
Eashan Morajkar
Eashan Morajkar - avatar
+ 1
You're welcome
1st Oct 2021, 4:28 PM
Eashan Morajkar
Eashan Morajkar - avatar
+ 1
It is not critical for a back-end developer to learn JS, however it is quite useful if you want to be a Web developer, as JS allows to make more interactive and customisable Web pages.
1st Oct 2021, 4:32 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
0
To show your php code output to a webpage, you need a website, and to create a webpage you need html and css
1st Oct 2021, 4:20 PM
Eashan Morajkar
Eashan Morajkar - avatar
0
Javascript and php do the same thing, the difference is that Javascript does the calculation on your device and shows the output on the webpage, but php does the calculation on the server where the page is located and sends the output to your device
1st Oct 2021, 4:22 PM
Eashan Morajkar
Eashan Morajkar - avatar
0
Yes, I know about it. Shoud I know JavaScript too, before studing PHP?
1st Oct 2021, 4:22 PM
Andrii Tomkiv
0
Oh, I understand now, thanks you so much.
1st Oct 2021, 4:28 PM
Andrii Tomkiv