Richer Pages With AJAX
By Felipe Lodi
Google Applications took the attention of the world to a new way that Web applications could be developed. Certainly this was not approached only by Google and their great envisioners and developers but given their products are widely used, everyone could take advantage of great user interfaces. The layman user might not be able to understand what I am trying to say here but if they were able to compare functionality of Google Applications (e.g. Gmail, GoogleDocs) with interfaces that do not use AJAX, they would know.
AJAX stands for Asynchronous JavaScript and XML (W3Schools, n.d.) and it is not a programming language. AJAX brings more dynamic pages to the Web, pages that are not completely refreshed, faster pages that do not wait for an entire reconstruction every time a command is executed. With AJAX, only parts of the page are updated, only parts that really has to be updated. For instance, still using Google as my base to this article, when a new mail is received from Gmail, why to update the whole page is just one item needs to put on the Inbox list?
And here is the great idea. I am used to say that AJAX works like a cartoon production. I am not a specialist on that but I imagine that cartoons are drawn in a way that scenario, objects and actors do not need to be entirely re-drawn unless they need to be updated. Jokes apart, Web pages using AJAX also have this way of work. Technically speaking, the client-side scripting acts updating only the part of the page that was programmed to change at that moment and the server-side communication still remains the same, the requests happen in a very similar way.
Answering one of the proposed questions: yes AJAX is the great deal for Web applications, and thanks to this feature, Web applications look alike desktop applications nowadays. The AJAX application model also brings new techniques to the developers, since many third party products embed the JavaScript and XML coding used behind the scenes. It is possible to develop the functionality from scratch though, however, the usage of ready tools equalizes the benefits of using AJAX with the benefits of developing using AKAX.
Amongst countless products, AJAX Toolkit for developers is an effort between Microsoft and the Asp.Net AJAX Community in order to bring "powerful infrastructure to write reusable, customizable and extensible ASP.NET AJAX extenders and controls" (Microsoft, 2011) Using these controls, the developers do not have to bother to make AJAX layers working. They just stick the components on the page and do the proper bindings that the results are faster and more dynamic pages, like the former Desktop Windows Forms used to be.
As developer, I believe that AJAX brings the Web application to another level. As user, I ever got myself amazed with the benefits of navigating on AJAX-ready pages. I would say that I respect the page. As developer, I also believe that AJAX enables new interactivity, as the way the asynchronously requests enables multi-thread pages. As user, I think multiprocessing helps the pages to be faster, likewise Desktop Applications. And finally as developer, being able to develop richer pages and less server dependent pages bring me back to the recent world of Desktop Applications that now, I can use on the Web.
REFERENCES LIST
Microsoft, 2011. ASP.NET AJAX Control Toolkit [Online] Available at: http://www.asp.net/ajax/ajaxcontroltoolkit/samples/ [Accessed on April 23, 2011].
W3Schools, n.d. AJAX Tutorial [Online] Available at: http://www.w3schools.com/Ajax/Default.Asp [Accessed on April 23, 2011].










