Scripting Language Introduction

Scripting Language definition

A scripting language is a programming language that supports scripts and programs that are written for a special run-time environment. They are interpreted rather than compiled.

An interpreter checks the syntax of the code and generates object code one source line at a time. The language is interpreted at run-time so that the instructions are executed immediately. There are two types of scripting languages.


Server side Scripting languages are run on a web server(back end ). This environment is known as Server side scripting environment.

The user issues a request and it is fulfilled by running a script, directly on the web server.

The web server will generate dynamic HTML pages as the output according to the script. this HTML is then sent to the client browser.

These languages are mostly used in interactive web sites that are connected to databases.


  • PERL and
  • Active Server Pages.

Advantages of Server side scripting Languages

These languages support high customization of the response based on the user's requirements.

Disadvantages of Server side scripting Languages

They impart more load to the web server.

They can introduce processing overhead that can decrease perfomance and force the user to wait for the page to be processed and recreated. Once the page is posted back to the server, the client must wait for the server to process the request and send the page back to the client.

ii). Client side scripting Languages

They run on a browser(front end). This environment is known as Client side scripting environment.

The processing of the scripts takes place on the end users computer.

The source code of the requested service or web page is transferred from the web server to the end users computer over the internet and run directly in the browser.

The scripting language must be enabled on the client computer.

They make intractive and dynamic webpages.

They also interact with temporary storage and local storage and provide remote services for client-side application.

Example :

  • VB script and
  • JavaScript.

Advantages of Client Side Scripting Languages

No load on the server since all the processing is done in the browser.

These languages are easier than server side scripting languages.

Disadvantages of Client side scripting Languages

Minimal customization of web pages.