However if you are building a large scale web application there is more to consider when using AJAX than how to create a function that hides the differences between the XMLHttpRequest object in IE and Firefox. Problems that have to be solved [or at the very least considered] include
- How to abstract away browser detection from each page in the application
- How to efficiently manage the number of connections to the server created by the client given the “chattiness” of AJAX applications compared to traditional web applications
- How to reduce the amount of time spent downloading large script files
- How to create permalinks to portions of the application
- How to preserve or at least simulate the behavior of the browser’s ‘Back’ button
Now, see: If the browser based Partial Content Update was done, almost all of these problems will be abstracted out. The browsers (already optimized for most of this stuff) will handle the requests allowing easy devlopment for the web app developers.