Client Side Languages
Server Side Languages
A server side or back-end language runs its scripts before the HTML is loaded, not after.
There are a range of server side languages in use on the web today. PHP is one of the most popular, as well as Ruby on Rails, ASP.NET and many others. They are called server side languages because their scripts are run not on your computer, but on the server which hosts the website and sends down the HTML code.
THE DIFFERENCE BETWEEN CLIENT SIDE AND SERVER SIDE SCRIPTING LANGUAGE
1) Client-side Environment
The client-side environment used to run scripts is usually a browser. The processing takes place on the end users computer. The source code is transferred from the web server to the users computer over the internet and run directly in the browser.
The scripting language needs to be enabled on the client computer. Sometimes if a user is conscious of security risks they may switch the scripting facility off. When this is the case a message usually pops up to alert the user when script is attempting to run.
2) Server-side Environment
The server-side environment that runs a scripting language is a web server. A user’s request is fulfilled by running a script directly on the web server to generate dynamic HTML pages. This HTML is then sent to the client browser. It is usually used to provide interactive web sites that interface to databases or other data stores on the server.