Tuesday, May 20, 2008

Importance of JavaScript

The world is a global village. The organizations are operating from multiple geographic locations. The availability of right information at right time is vital for success of any business. Business executive want availability of information while travelling also.


The solution to the problems cited above is web based applications. The internet is the only glue which can connect people and processes seamlessly. The information is available at anytime anywhere, just a click away. But bandwidth is too slow and every click takes ages to load the page. The internet bandwidth is the bottleneck for many applications. The problem becomes worse when we have to deal with heavy media files.


JavaScript and Ajax (Asynchronous JavaScript) can solve bandwidth problems up to a greater extent. The following are two good reasons.


1. Small responses can be given to user instantaneously using JavaScript reducing number of server hits in a given session.

2. Ajax can be used, in order to reduce the information which is asked from server. Use Ajax for only loading a particular section of the page instead of refreshing whole page. Google maps, Gmail are great example of Ajax application running pretty well on considerably slow connection.


Not to mention user experience can be made more pleasant by making interactive applications using JavaScript. The advent of JavaScript API’s like JQUERY, YUI has solved cross browser puzzle up to a greater extent. Every developer doesn’t have to grapple with cross browser enigma. They can concentrate on core application functionality.