Written by nitinpai on April 29th, 2007
Ajax Exposed – Myth and Reality
Ajax, from its onset, has seen many debates and discussions which not only have helped it flourish even more in its overall popularity but also have made it gain world wide acceptance and more standardized approach. However, there are still a lot of myths associated with Ajax and many of them have come out through discussions in forums and through the blogosphere. This article tries to relate all of them and recall their origin and the realities attached behind the scenes.
Ajax is not about XMLHttprequest Object
Most of the people think that if they know about the XMLHttpRequest (XHR) object then they are Ajax programmers. Only a part of this statement is true since the base of Ajax is about XHR. But Ajax is not just about XHR.
The article by Jesse James Garet (who originally coined the term Ajax) mentions the same as,
XMLHttpRequest is only part of the Ajax equation. XMLHttpRequest is the technical component that makes the asynchronous server communication possible; Ajax is our name for the overall approach described in the article, which relies not only on XMLHttpRequest, but on CSS, DOM, and other technologies.
Working with Ajax means that you intend to use asynchronous behavior in your web page. The next thing which comes into practicality of Ajax usage is the XHR object. Although asynchronous, your web page will be far away from using Ajax in the right manner.
Ajax was not just meant for providing asynchronous behavior, but to make a web page shed its primitive look from blocking a view whenever a request was made to a look, which more seemed as if a person was working on his desktop application, by a combination of features provided through CSS, DOM, etc along with the specialty of XHR. The driving force to the popularity that Ajax has received is majorly speed and natural responsiveness which means that a response is generated to only what is demanded keeping the other things constant without changing.
Ajax is not an acronym
I thought of Ajax as a convenient [term]. It was never intended as an acronym.
Ajax is not AJAX
If you have a tool or search engine which you use to search case sensitive terms then using Ajax will fetch different results than AJAX. The same applies to using case sensitive switch cases in your applications which might be disturbing of search intensive applications. So it is required that people across the world stick to a single norm. The reference of the usage is correctly attributed to the creator of the term itself i.e Jesse James Garette. He used Ajax (camel case). Wikipedia also uses in the same way, alongwith many big vendors, so it ought to be Ajax and not AJAX.
Arun Gupta recalls his experience in making the changes at Sun Microsystems.
Ajax is a popular term for past few months but is still being written incorrectly as “AJAX” (all capitals) instead of “Ajax” (camel case). I started using AJAX but then corrected myself and have been using Ajax since then.
Arun has mentioned a set of nice resources which prove the need of using a globally accepted term. Its analogy can be put forward to the acceptance of English as a global language. Even this site needs to make the changes to the usages of the term AJAX wherever used. So if you are in the AJAX bandwagon it would be better to jump on to the Ajax one, due to the global directives.
Ajax is not Web 2.0
Web 2.0 is a conceptual term and rather a representational term which in recent times is being used on a tremendous scale to put forward the freedom of data usage on the web. Earlier the web was used to share data statically and allow limited interactions in the form of feedbacks from the user. But today if we see the web, its a lot more interactive and user has the power to generate content, publish at ease and choose various alternatives to acquire it.
The web sites today cater more to the user inputs rather than passive information being pushed to the users. The result being the increasing number of blogs, forums, social networks and communities. In addition to the increasing user interactions, Web 2.0 is about using data freely. There is no limitation to getting data only in a pre-specified format or a pre-specified contractual terms.
The user is free to choose how he can receive the same data in various ways. The proof of the fact is the number of technologies that are being built to cater to this aspect. Web Services, RSS Feeds, Webcasts, Podcasts etc. Spreading of data more accurately and in a wide spread manner is another aspect of Web 2.0. Tagging, Online bookmarking are only the beginning of such techniques and the web is about to see a lot more than this.
In his article, De Witt Clinton tries to showcase this is a rather detailed approach on how communication has evolved,
Web 2.0 is about giving up control. It is about setting the data free. It is about providing services that work with other peopleâ€™s data. It is about having a valuable resource and making no presumptions about how or where that resource will be used.
In my opinion, the web just might become obsolete in the near future. The fact being it might be something closer to having online desktops. It might be possible that computers will be replaced entirely by mobiles which would become more handy than a computer, with power packed business and multimedia features.
Ajax can be considered to as a part of the implementation process but not a concept of Web 2.0. Web 2.0 is also just a term used to replace long statements indicating the changing nature of the web and not a replacement to the existing characteristics of the web, just like Ajax did to the underlying technologies. You might read about this aspect in Wikipedia’s information on Web 2.0,
The argument also exists that “Web 2.0″ does not represent a new version of World Wide Web at all, but merely continues to use “Web 1.0″ technologies and concepts.
The term Web 2.0 showcases how data can be shared and used freely without any sort of restrictions while Ajax makes it possible to make innovations which attribute to the growth of Web 2.0. It’s more of a marketing strategy when you see Ajax and Web 2.0 used as synonyms just to derive maximum popularity owing to the two latest terms coined. Web 2.0 shows the way to use and spread data while Ajax is a practical approach to present the data in an effective and interactive manner.