Computersight > Programming > JavaScript

The Important Role of Javascript in a Website

Javascript is a client side scripting language which enables a web site to perform client side activities. It is widely used and helps a web programmer to make his web pages more interactive.

Many people wonder why JavaScript is so popular. In this article, I wish to give an introduction to how JavaScript is being used for making better web sites. There are two sides for any web site. One is Client side and the other is Server side. As the name indicates, the Client side functionalities are performed on the client side, or at the machine where a web browser displays a web site. On the other hand, the server side functionalities are performed at the machine where the web pages are hosted.

JavaScript is used to make the Client side machine work for the web site. To illustrate this better with a simple example let us consider displaying the current time on a web site. If you write a code to display time on the server side, the time displayed will be from the server. In many cases servers are located thousands of miles away from the client. So the time displayed on the Web Site will be far different from that of the current time of the visitor. So, in order to display the current time of visitor JavaScript can be used effectively. Another advantage of JavaScript is that it is easily available and very easy to implement and can work on any type of web sites, whether it is a windows or linux based.

JavaScript is widely used for creating rich and interactive websites. Ajax is a technology, which uses JavaScript extensively to create a satisfying user interaction on a web site.

3
Liked It
I Like It!
Related Articles
PHP's Benefits  |  Helpful Links for HTML, Flash, Javascript and DHTML
More Articles by Gijo George
Drawing a Chart with Microsoft Excel  |  How to Do Mail Merge in Word
Latest Articles in JavaScript
Six Functions Missing From Javascript Arrays  |  Five Essential Resources for Learning Jquery
Comments (1)
#1 by Rionel "2tet" Belen Caldo, Aug 10, 2008
For a fact, what was provided for is the differences between the two sides of website. However, still these are parts of Javascript since in the first place it is used for such creation.

This lets you decide to use the title: Javascript: An Introduction.

Best regards and keep reading,
Rionel "2tet:
http://www.triond.com/users/2tet
Post Your Comment:
Name:  
Copy the code into this box:  
Inside Computersight

Communication & Networks

 /

Computers

 /

Hardware

 /

Operating Systems

 /

Programming

 /

Software


Popular Tags
Popular Writers
Computersight
About Us
Terms of Use
Privacy Policy
Services
Submit an Article
Advertise with Us
Contact

© 2007 Copyright Stanza Ltd. All Rights Reserved.