Prototype takes the complexity out of client-side web programming. It is built to solve real-world problems; it adds useful extensions to the browser scripting environment and provides elegant APIs around the clumsy interfaces of Ajax and the Document Object Model.
Features of Prototype:
- Extends DOM elements and built-in types with useful methods.
- Has built-in support for class-style OOP including inheritance.
- Has powerful Ajax utilities
- Cross Browser Support
- HTML Forms
XMLHttpRequest, however, exposes the HTTP protocol at a very low level, which gives the developers of e-Zest lot of power to write excellent code. We use prototype framework which has its own object inheritance system and also provides a hierarchy of Ajax helper objects, with more generic base classes being subclassed by more focused helpers that allow the most common types of Ajax request to be coded in a single line.
We at e-Zest use prototype framework extensively and it provides our developers with helper methods that ease some of the strain of DOM programming. Using Prototype, we manipulate DOM very easily.
In case of event handling at e-Zest, developers prefer using prototype framework because it provides some excellent cross-browser support when coding events, and also extends the Function object to make it easy to work.