Ajax
I start my exploration of Ajax using as a base the library presented in D.Flanagan's Javascript book (5th edition).

Flanagan says that his code deals with "low level Ajax"; it is exactly what I was interested in: before using high level libraries, I wanted to understand how the basic mechanisms works: build a request, send it, process the response. Of course we then proceed to build higher primitives on top of the basic ones; but the mapping to the Ajax core is clear.

This code was also very interesting to me from another point of view: to see how JavaScript can be coded in a quasi-object oriented way (I dedicate one page to discuss a sample of Javascript code comparing it with Ruby, although it is a digression from Ajax).

Later we will look at how Javascript and Ajax are used in Rails.



[URL: ; Last updated: ]