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.
This lets you decide to use the title: Javascript: An Introduction.
Best regards and keep reading,
Rionel "2tet:
http://www.triond.com/users/2tet