+ 7
What is the use of JavaScript and PHP?
I am thinking both are may be using for same purpose. Please elaborate which having vital role and demands?
3 odpowiedzi
+ 5
JavaScript can be used for both front and back-end development, JavaScript is buildt into the web browser and is a huge part in creating dynamic websites.
PHP on the other hand is run on the server, so all PHP code is run before the user sees the page.
Its common to use both PHP and JavaScript together, PHP for the back-end and JavaScript for the front-end, since PHP cant really cant do anything to your page without a page refresh, whereas JavaScript can.
That’s a short answer, for more in-depth knowledge I’d check out articles about the subject.
Hope it helped.
+ 4
Client and server side scripting for the web are the most typical use cases.
+ 1
java script is awesome language for functioning of web page it decides what will happen if we click this or that