Remember when the web consisted of nothing more than a few static web sites coded exclusively with HTML? Life was simple back then. Back in 1996, a website could be created in a few minutes by inserting the content into a basic HTML template, and adding some graphics for style. Now, the internet is populated with web sites that are more complex. Modern web sites use anywhere from two to sometimes twenty different programming languages, specifications and scripts. Some of the code runs on the front end, some runs on the back end, and some runs somewhere in between.
We have the wireless revolution to thank for making web programming so arduous. Most wireless devices, such as cell phones, palm tops, laptops, and even computer screens in automobiles, now come equipped with access to the internet and email. These gadgets have web browsers and platforms that are very different from what is installed on a traditional desktop PC. Wireless browsers are often not compatible with many elements of the HTML programming language. Web programming had to evolve to suit the needs of those that surf the net on wireless computers.
Well, AJAX is a confluence of all these different programming specifications. AJAX itself is not a language; it is a technique that makes use of all these different components. Also, AJAX web sites can interact with the user by responding to input and changing certain parts of a web page without reloading the entire page.
Microsoft is credited with the inspiration for AJAX when in 1998 they developed something called remote scripting to make web pages more interactive. Later on, remote scripting was taken to newer heights by other talented programmers, and eventually, AJAX was the result.
Some of the advantages of it are that it can be used to create sites that are extremely interactive, and it loads very quickly and occupies very little bandwidth. The drawbacks are that it can sometimes inhibit the use of the back button on the web browser, and sometimes the code has a problem initiating the response that it has been programmed to produce.