- Is the Cisco MARS mission going to abort?
- First iPhone worm spreads Rick Astley wallpaper
- 10 stunning 3D buildings made with Google SketchUp
- Open source software ready for big business
- Four reasons to buy (and one reason to avoid) the Droid
If you've used Google Maps, Gmail or Microsoft's Outlook Web Access, you're familiar with the power of AJAX, which gives Web applications the responsiveness users associate with desktop applications. Fundamentally, AJAX (Asynchronous JavaScript + XML) enables back-channel communication in Web applications so that only small portions of Web pages need to be updated in response to user activity. Compared with traditional Web applications that follow the familiar pattern of waiting for a whole page to load, deciding what to do, clicking and waiting again, AJAX applications offer a better user experience. Plus, if done right, an AJAX-style application can reduce both bandwidth and server requirements.
It's no wonder that AJAX has generated lots of hype. However, before you "AJAXify" your Web applications, you need to be aware of the pitfalls, particularly in the areas of security, reliability and performance.
AJAX requires significant mastery of JavaScript, which, unfortunately, is one of the most maligned, misunderstood programming languages in widespread use. Many developers see it as a toy scripting language with a C-like syntax, relegated for use in building simple Web-page embellishments or setting up Web-form validation.
However, we'd argue that JavaScript is actually a powerful prototype-based, object-oriented scripting language, closer to functional programming languages widely used in academia, such as SELF and Scheme, than to its cousin-in-name Java.
Admittedly, JavaScript's negative reputation is not completely unfounded. Incompatibilities in the JavaScript object models supported by various browsers can make coding quite a chore. The language also lacks widespread tool support, making extensive system development and debugging onerous. The fact that companies such as Microsoft and Google have built mission-critical Web applications that rely heavily on client-side JavaScript is no small feat.
Comments (1)
RE: AJAX is the future of Web app developmentBy Martand Mishra on November 6, 2007, 11:52 pmYes, the way ozirall performance based on AJAX it is defentlely future of WEB Development
Reply | Read entire comment
View all comments