enrii.blog

A passionate programmer’s findings in the world of internet.

Articles on Mastering Ajax

February 16th, 2006

IBM had come up with a series of Ajax articles, with the last one just published few days ago. I would say that they are really worth reading if you really wanted to be an advanced web programmer. They consist of 3 parts that can be read independently, according to your level of ajax knowledge.

Part 1: Introduction to Ajax

Ajax, which consists of HTML, JavaScriptâ„¢ technology, DHTML, and DOM, is an outstanding approach that helps you transform clunky Web interfaces into interactive Ajax applications. The author, an Ajax expert, demonstrates how these technologies work together -- from an overview to a detailed look -- to make extremely efficient Web development an easy reality. He also unveils the central concepts of Ajax, including the XMLHttpRequest object.

Part 2: Make asynchronous requests with JavaScript and Ajax

Most Web applications use a request/response model that gets an entire HTML page from the server. The result is a back-and-forth that usually involves clicking a button, waiting for the server, clicking another button, and then waiting some more. With Ajax and the XMLHttpRequest object, you can use a request/response model that never leaves users waiting for a server to respond. In this article, Brett McLaughlin shows you how to create XMLHttpRequest instances in a cross-browser way, construct and send requests, and respond to the server.

Part 3: Advanced requests and responses in Ajax

For many Web developers, making simple requests and receiving simple responses is all they'll ever need, but for developers who want to master Ajax, a complete understanding of HTTP status codes, ready states, and the XMLHttpRequest object is required. In this article, Brett McLaughlin will show you the different status codes and demonstrate how browsers handle each and he will showcase the lesser-used HTTP requests that you can make with Ajax.

(via Ajaxian)

If my article helped you solved your problem, consider buy me a beer!

Share this article: del.icio.us | digg it

Tags:

Related posts:

Comments are closed.