Loading...

Beginning Ajax with PHP: From Novice to Professional by Lee Babin

An interesting misconception regarding Ajax is that, given all the cool features it has to offer, the JavaScript code must be extremely difficult to implement and maintain. The truth is, however, that beginning your experimentation with the technology could not be simpler. The structure of an Ajax-based server request is quite easy to understand and invoke. You must simply create an object of the XMLHttpRequest type, validate that it has been created successfully, point where it will go an where the result will be displayed, and then send it. That’s really all there is to it.If that’s all there is to it, then why is it causing such a fussll of a sudden? It’s because Ajax is less about the code required to make it happen and more about what’s possible from a functionality, ergonomics, and interface perspective. The fact that Ajax is rather simple to implement from a development point of view is merely icing on a very fine cake. It allows developers to stop worrying about making the code work, and instead concentrate on imagining what might be possible when putting the concept to work.

Download Link