Saturday, June 11, 2011

About Scripts

Scripting Language
A scripting language is a particular syntax used to execute commands on a computer. A program composed of commands from a particular scripting language is referred to as script.

Difference between Client Side Scripting & Server Side scripting
Client side Scripting
  1. Client side scripting is programmatic code in an HTML file that runs on the browser.
  2. Client side scripting is commonly written using java script language.
  3. A client side script is not processed at all by the web server, only by the client. It is the client’s responsibility to execute any and all client side scripts.
Server Side Scripting
  1. Server side scripts are scripts that execute on the web server. These scripts are processed and their output is sent to the client.
  2. The client does not receive any code from server side scripts; rather the client receives just the output of the server side scripts. Client side scripts and server side scripts cannot interact with one another because the client side scripts are executed on the client after the server side scripts have finished processing completely.
  3. Vbscript is example of server side script
Difference between Java script and VB Script
Javascript -
  1. It is client side scripting language, developed by Netscape.
  2. It is case sensitive.
  3. File extension is .js.

VBscript -
  1. It is both Client and server side scripting language,developed by Microsoft.
  2. It is not case sensitive.
  3. File extension is .vbs and .vba.