Eight Weeks of Prototype: Week 5, Ajax with Prototype
In addition to all of the other useful classes Prototype gives to developers, it also provides a number of classes and methods for development of Ajax-enabled web applications. That is, it allows developers to easily perform HTTP sub-requests using
XmlHttpRequest and to handle the response accordingly.
There are many Prototype concepts and functions used in this example that have been covered in earlier articles in this series, such as selecting and updating elements, and event handling.
In the final article in this series, I will cover an extensive example of programming with Prototype, which will include using Ajax to communicate with the web server.