Javascript Lesson 01 - ex01
Client-side VS. Server-Side
It's all about who's doing the work. If a script is run when you make an http request and the results are sent with the page, the server has done the processing. Therefore it's a server-side script. For example you request a listing of books from Amazon.com The script is run on the server, it accesses the database and returns to you a page with the results. All finished by the time it reaches the client (you).
On the other hand, Client-side scripting is done on the client machine. If you request a page that displays the date for example, more then likely the page that was returned to you has the necessary code to display the day but not until it reached your computer was the script run. The script will then take the date from your computer and display it on the page.
Some Server-side Languages
Perl, ASP, CFML, PHP, JSP
Some Client-side Languages
Javascript , JScript, vbscript