Is there any importance of JavaScript if you already know PHP. In web development?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is there any importance of JavaScript if you already know PHP. In web development??

8th Jun 2019, 12:33 AM
Babashehu Shettima Musti
Babashehu Shettima Musti - avatar
6 Answers
+ 2
Hey buddy!, I just wanna tell that PHP handles whatever query a webpage sends to the server so that we get to do an action on our webpage according to the response by the server for that query. Whereas, by JS you can maintain the events, style the events as well as execute few things on the user end instead of quarrying the server. But as the user end doesn't have all the resources available so we still need to query the server side, therefore, for an interactive wesite you need to learn both JS as well as PHP. Once you learn other high level languages you can replace PHP for them, for a faster execution. Wish it was helpful.
8th Jun 2019, 5:54 AM
AJAY SINGH RANA
AJAY SINGH RANA - avatar
+ 16
PHP is a server-side scripting language while JavaScript is a client-side scripting language. In fact, the most dynamic website is created when we use functions of both these languages together. ... PHP also supports major protocols like IMAP, POP3 and LDAP...So js is essential
8th Jun 2019, 1:26 AM
Hëllo Wörld🔰
Hëllo Wörld🔰 - avatar
+ 4
JS is mostly used for the front end.
8th Jun 2019, 3:49 AM
Sonic
Sonic - avatar
+ 4
Yh JavaScript is a client side programming language that help manipulate the Dom (documents object model) whilst pho is strictly server side it for sending request to the server and getting response
9th Jun 2019, 6:43 AM
GeneralZod
GeneralZod - avatar
+ 1
👑Kunyu👑 Okay thanks
9th Jun 2019, 12:02 AM
Babashehu Shettima Musti
Babashehu Shettima Musti - avatar
+ 1
AJAY SINGH RANA it was a lot helpful
9th Jun 2019, 12:03 AM
Babashehu Shettima Musti
Babashehu Shettima Musti - avatar