Scripting Languages
‹?›
A server-side scripting language enables information that is stored on a server to be accessed and processed in a specific way. A database is a common example. The server script is usually imbedded in the HTML of a webpage and is used to request the server to carry out scripts which query information on the database. The scripts run before the HTML of the webpage is loaded, then the information is sent back to the browser or client as a normal HTML webpage without the scripts showing up in the source code.
A client-side scripting language on the other hand is run on the browser instead of the server. It runs its scripts after a webpage is loaded. It allows a user to manipulate elements and content on a web page dynamically; therefore, it is very useful for things like simple games or checking the validity of inputs on a form.