Overview of Scripting Languages

Overview of Scripting Languages

Scripting languages belong to Programming languages. It executes the scripting code one line at a time and giving the corresponding output. It stops executing when error is encountered. Due to the execution behaviour of scripting language belong to interpreted language. It is designed to couple with web pages.

Examples of scripting languages:

  • VB script
  • Java script
  • Active server pages
  • Perl
  • PHP
  • Python
  • Ruby

Merits of scripting languages:

  • Simple learning
  • Good synergy with web pages
  • Easy to construct
  • Perform more tasks

Types of Scripting Languages:

overview scripting languages img1

This tutorial deeply deals with Client side scripting language such as Java Script.

1.1 Java script

JavaScript belongs to interpreted programming language which supports to build dynamic web pages. It is one of the client-side scripting languages to communicate with the end user at run time. It has object-oriented language characteristics.

Live Script is an initial term of JavaScript. The browser Netscape reformed its term as Java Script because it produces output same like Java. The language supported in all browsers like IE, Mozilla Firefox and Netscape Navigator etc.,

Java script is mostly embedded into web pages. Web pages decide the content to be displayed in browsers. Scripting languages decide the action to be performed on browsers. Java script runs in all browsers.

1.2 Client-Side Java Script

Java Script is the most widely used scripting language due to its efficient object oriented features. It is coupled with HTML language which is executed in browser and produces dynamic content.

Java script is used to control all client side activities. It is used to check all client side constraints and capture user activities. Examples for client side constraints are whether user entered valid data in all form entries such as age, date of birth, country, password strength etc.

1.3 Benefits of JavaScript

  • Decreases load for server
  • Produces result instantly
  • Able to create live and interactive web pages
  • Capability to include more number of components for user interaction

1.4 Disadvantages of JavaScript

  • No file concept
  • No concurrent processing
  • No networking concept

1.5 JavaScript Development Tools

To develop Java script programs it needs

  • Test editor : For developing programs
  • Web browser: For interpreting and executing programs

In addition to the above mentioned basic development environment, various packages are available in market to embed java script into that to make our work simple and efficient. Such packages are:

  • Microsoft Front Page : It is HTML editor in which we can embed scripting languages like VB script, Java Script etc., to enhance web page interactivity.
  • Macromedia Home Site 5 – The tools used to couple HTML and Java script code to create dynamic web pages.
  • Macromedia Dreamweaver MX – It is a very common editor in the expert web development community. It consists various built in components to store data and fetch data in data bases. It has tags to build XHTML and XML programs.

1.6 Where is JavaScript Today?

The first edition of Java script is Java script 2.0 or ES2. In 2009 some of the most important features are added into ES2. The update version is Java Script 5.0 or ES5.