Step 5: Improving the Robustness of the AJAX Application
With all this in mind, here are some immediate error-prevention suggestions:
AJAX Implementation: An Art of Tradeoffs
In the meantime, I see AJAX as an immediate candidate for the new generation of Internet portals and interactive applications. With AJAX, Internet news portals such as Yahoo, Google News, or MSN will allow users to access all areas of interestincluding specific detailsfrom the same portal page.
The promise of rich clients that can be implemented by leveraging existing Web technologies and Internet infrastructure as-is is attractive. Interactive communication applications already have adopted AJAXGoogle uses it for its ultra-popular Gmail e-mail clientand I expect this trend to continue.
One advantage that software development teams will enjoy is this technology's accessibility and flat learning curve. As previously mentioned, it is available on all modern browsers. Also, it does not require advanced programming skills like J2EE or .NET, yet it can produce impressive and effective results that will appeal to end users.
Helpful Tools and Extensions
As AJAX grows in popularity, helpful third-party extensions will continue to emergeones that make complex tasks such as debugging, cross-browser development, and XML processing easier. Some of the more prominent extensions that you may find helpful today are:
Greasemonkey is a Firefox extension that enables installation of custom DHTML scripts. Some blog authors (see resources) have produced scripts that help trace and debug AJAX routines utilizing Greasemonkey features.
Sarrisa is a script library that automates and simplifies the most common XML operations (e.g., XML document loading from URL, instantiations, XPath, XSLT processing) with AJAX, as well as cross-browser implementations and testing.
- Direct Web Remoting (DWR)