- Inc. Technology - http://technology.inc.com -
Building Applications with AJAX
Posted By Tim Stevens On October 1, 2006 @ 12:00 am In Setting Up a Website | No Comments
Running a business on the World Wide Web can be a source of frustration if you don’t have the right tools. Many business owners continue to expect their customers to wait what seems like an eternity for an entire webpage to load if a customer changes what they want to see or buy. But a wait of even a few seconds can be more than a frustration to a customer. It can convince them to shop somewhere else.
To avoid such lost sales, businesses that sell goods online need to become familiar with AJAX, a development tool that can be used to create interactive Web applications without requiring a new page to load.
The important point here is that only the information that has changed is sent back from the server, not the entire page. Think of a photo browsing page that displays 20 high-resolution pictures at a time. The page gives the user the ability to select and zoom in or out on any of those pictures. Even with browser-based caching it would be inefficient to refresh the entire page and all its pictures whenever the user selected one to take a closer look. With AJAX the page can request that single image in whatever size is required then display it without reloading the page.
The obvious benefit for your business of using AJAX on your website is performance. Webpages are much more responsive when they don’t need to be completely reloaded after every click. Responsive webpages are more effective and will make customers stay longer and, hopefully, buy.
On the server side, AJAX has huge benefits for websites that have sporadic traffic patterns. MacRumors.com, a website that sees a huge influx of traffic when Apple Computer is making product announcements at Macworld, uses AJAX to limit its bandwidth usage. “The setup was designed to offer unlimited scalability and tailored to provide live text updates to a large audience of people,” the website says. The website goes on to say that it uses AJAX to reduce the amount of data that needs to be sent to individual viewers. “If not for the efficiency of the MacRumorsLive AJAX update system, the same webcast would have required approximately twice as many servers and would have had to transfer almost 6 times as much data,” the website says.
Other AJAX proponents define the business benefits in terms of time savings. Ajax Info , a website that compares traditional Web applications with those created with AJAX, concludes that “a business can save between 500 and 2,800 man hours per year on a 10-step hypothetical process, saving roughly four seconds per step (a between 30 percent and 70 percent reduction in labor costs).”
At the same time, business owners need to be aware that while as many as 93 percent of Web browsers used by the general population are AJAX-compatible, there are other users who will be excluded from accessing these applications, according to a May report from Forrester Research. Those excluded users include the following:
Article printed from Inc. Technology: http://technology.inc.com
URL to article: http://technology.inc.com/2006/10/01/building-applications-with-ajax/
URLs in this post:
 Ajax Info: http://www.ajaxinfo.com/
Copyright © 2011 Inc Technology. All rights reserved.