Hashemian Blog

Huh? What?

Sunday, April 02, 2006

AJAX overload 

Years ago SUN proclaimed that the network was the computer. Nowadays, one can also say that the Web page is the application, thanks to AJAX (Asynchronous JavaScript And XML). When I think of creating an application, my first instinct is to create it as a Web application. I have been using that approach for some years now. Not only Web applications are easier to create, they offer a kind of interoperability that perhaps no other platform can rival. All a user need is a Web browser, and they can run the application.

The Web is an inherently stateless technology. Generally that means that each Web page is independent of other pages, even within the same application. There are of course several ways to retain and store (persist) data as users are passed around various pages. In this fashion each action causes a new page to be loaded as the user navigates the application. That makes the pages less interactive than other types of applications. To address the interactivity issue, technologies such as Java applets and Flash have been used to make the process more fluid. Eventually DHTML reached a point where pages could be manipulated using JavaScript responding to users' action. The final piece of the puzzle was the XMLHttpRequest object, through which Web pages could communicate to the Web server in an out-of-band model, updating data without making a full round-trip back to the server and refreshing the page. The technology was dubbed AJAX and ushered in a new era of Web, known as Web 2.0.

AJAX has been a great leap forward in Web applications. The problem however is that many sites have now gone overboard with it shifting the burden of processing to the client browsers. On the surface this is a welcome change, but there is a drawback when applications rely too heavily on the client side. Many sites that employ AJAX and DHTML end up with slow and unresponsive pages. While bits and pieces of a page are being loaded and formatted from various sources, users must wait until the whole page is rendered before they can proceed.

In many cases, those pages go into a frozen state until all components are properly loaded and formatted and many don't respond to user inputs while completing their tasks. The problem is not widespread yet, but as many sites begin to deploy AJAX, those Web pages will begin to crawl wearing users' patience thin. One notable example is Microsoft live. The site looks great, but the site's home page takes an inordinately long time load. At times I have just abandoned the page while it attempts to load its various parts.

AJAX is a great tool for making Web pages more interactive and flexible. But there is a point where too much technology can hinder usage instead of helping usability. Sites shouldn't just throw in new technologies indiscriminately hoping that users would come in droves. In the end, if a site proves too slow and unresponsive, users would just get turned off, no matter how bleeding-edge.
,,,
<AJAX overload>

0 comments |

0 Comments:

Post a Comment

This page is powered by Blogger. Isn't yours?

Links
  • Syndicate Hashemian.com/blog/
  • Subscribe to Hashemian.com/blog/ with Bloglines
  • Read Hashemian.com/blog/ with Bloglines
  • Subscribe to Hashemian.com/blog/ with My Yahoo!
  • Technorati Profile
  • TMCnet.com
  • ARCHIVES
  • 09/01/2003 - 10/01/2003
  • 03/01/2004 - 04/01/2004
  • 04/01/2004 - 05/01/2004
  • 05/01/2004 - 06/01/2004
  • 06/01/2004 - 07/01/2004
  • 07/01/2004 - 08/01/2004
  • 08/01/2004 - 09/01/2004
  • 09/01/2004 - 10/01/2004
  • 10/01/2004 - 11/01/2004
  • 11/01/2004 - 12/01/2004
  • 12/01/2004 - 01/01/2005
  • 01/01/2005 - 02/01/2005
  • 02/01/2005 - 03/01/2005
  • 03/01/2005 - 04/01/2005
  • 04/01/2005 - 05/01/2005
  • 05/01/2005 - 06/01/2005
  • 06/01/2005 - 07/01/2005
  • 07/01/2005 - 08/01/2005
  • 08/01/2005 - 09/01/2005
  • 09/01/2005 - 10/01/2005
  • 10/01/2005 - 11/01/2005
  • 11/01/2005 - 12/01/2005
  • 12/01/2005 - 01/01/2006
  • 01/01/2006 - 02/01/2006
  • 02/01/2006 - 03/01/2006
  • 03/01/2006 - 04/01/2006
  • 04/01/2006 - 05/01/2006
  • 05/01/2006 - 06/01/2006
  • 06/01/2006 - 07/01/2006
  • 07/01/2006 - 08/01/2006
  • 08/01/2006 - 09/01/2006
  • 09/01/2006 - 10/01/2006
  • 10/01/2006 - 11/01/2006
  • 11/01/2006 - 12/01/2006

  • Read Financial Markets  |   Home  |   Blog  |   Web Tools  |   News  |   Articles  |   FAQ  |   About  |   Contact

    © 2001-2008 Robert Vahid Hashemian
    Support the effort
    Liked this page?
    Please consider creating a link to it
    from your Web site.

    hashemian.com
    هاشمیان.com

     Home

     Blog

     Web Tools Add Free Web Tools custom Google Toolbar button (Requires Toolbar >V4)
    Usage

     News

     Articles

     FAQ

     About

     Contact

     Financial Markets Book
    Read Complete Book



    BOOK
    Ajax: The Definitive Guide
    Anthony T. Holdener III
    $49.99


    BOOK
    Head First Ajax (Head First)
    Rebecca Riordan
    $44.99


    BOOK
    Bulletproof Ajax
    Jeremy Keith
    $39.99


    BOOK
    ASP.NET AJAX in Action
    Rama Vavilala
    $44.99


    BOOK
    Building a Web Site with Ajax: Visual QuickProject Guide
    Larry Ullman
    $19.99

    |ajax-overload|

    more…



    aStore - Hashemian.com on Amazon

    Visits: Powered by hashemian.com

     

     

     

     

     

    Search Hashemian.com





    COUPONS VALUED AT $1.75- AJAX DISH SOAP- NO EXP DATE!!!
    $1.00
    Ends: Sun Oct 12, 2008 15:55:44 EST


    2 ALLEN BRADLEY 193-EA1JD OVERLOAD RELAY
    $34.99
    Ends: Mon Oct 13, 2008 14:59:47 EST


    Billabong Mens Overload Jacket Phantom XL Hooded NWT
    $69.00
    Ends: Mon Oct 13, 2008 17:14:25 EST


    Yu-Gi-Oh Psychic Overload TDGS-EN070 ULTRA RARE
    $5.00
    Ends: Tue Oct 14, 2008 03:39:28 EST


    Hollywood Humphrey Bogart Likes Ajax Disherwasher Clean
    $3.00
    Ends: Tue Oct 14, 2008 19:01:12 EST

    more…