popup ad killer,ftp client,free download popup ad killer,ftp client,free download
popup ad killer,ftp client,free download
About k.soft Download - popup ad killer, ftp client, popupkiller, free downloads Contact k.soft
popup ad killer,ftp client,free download  
Features section

 

 

 
 
ksoft Newsletter - What's the Point of AJAX, Beyond Being Cool?
< Back to Main

What's the Point of AJAX, Beyond Being Cool?1/7/2007 @ 11:25am

I recently finished evaluating Microsoft's ASP .NET AJAX Extension toolkit (also called Atlas) and have previously dabbled with hand-coded AJAX features. Let me begin by saying I am highly impressed with Microsoft's AJAX library. It indeed displays stunning results, hidden asynchronous post-backs, and web page effects. Yet when I asked a non-techie user to view a sample application with AJAX, they simply replied with "So what? I don't see the difference". And that's the problem.

A Fancy Form Submit

At its core, AJAX is all about bypassing the browser-refresh on a post-back. That is, when you click the Submit button in a web page, you don't hear the web browser make a little click sound, you don't see the status bar change, and you don't see the web page reload. Ok, but for non-techie users, they don't notice that stuff anyway. All they care about is that their data displays after clicking Submit. So why the AJAX craze and does the world really need it?

AJAX form submit


Let me elaborate on several factors I fear with AJAX.

1. AJAX does not make anything easier.

The whole point of a new technology becoming popular and used in everyday applications is to make our lives easier. Windows replaced the green-screen not because it was cooler, but because it was easier to click an icon with a mouse than to memorize a series of commands to type at a prompt. Does bypassing a browser-refresh make anything easier? If anything, it makes things more confusing to the user. It also makes things more complicated for the programmer. Asynchronous events are always more confusing.

2. AJAX does nothing we can't already do.

AJAX can change html in the web page on the fly and perform invisible post-backs. But Flash has been doing this for years. AJAX may not require the Macromedia plug-in, but is bypassing the security issue of installing the plug-in the only benefit here?

3. A Javascript alert box is just as good as inline HTML.

The common way of showing an error message in a form is a javascript alert box. The AJAX-ified method would be to alter the innerhtml of a div or span tag to change text in the web page, showing the error. Or if you prefer the Yahoo style, the background web page turns grey and a small dialog is drawn in the center of the page, displaying the error. But does the non-techie user really care where the message comes from? Either way, he reads it and clicks OK to dismiss it. One looks cooler than the other. One looks more confusing than the other.

ajax bugs


4. AJAX is buggy.

Almost all implementations of AJAX web applications seem to contain at least a few bugs. By bugs, I am refering to misplaced objects during animation, buttons not re-enabling, windows unable to be closed without clicking several times. This also includes variations in operation depending on the web browser. You can also throw in issues regarding latency and dial-up users vs broadband. Reliability is a big strike. Sure, this can be resolved with work towards a standard bug-free multi-browser compliant AJAX library, but is it worth it?

5. Sites abuse AJAX.

Too many sites are using AJAX to dim windows, animate messages, show inline text where an alert box or new page would be simpler, spy on user interaction with the web site, and more. This only creates confusion for users. If the web application has a real neccessity for a draggable window, then by all means, use AJAX (or rather DHTML) to include one. However, if the only point of including the feature is to look cool, maybe you could skip it.

6. The Privacy Factor.

A technique for tracking web site metrics, which is growing in popularity, is using AJAX to spy on users who visit a web site. Anything can be tracked, from the obvious page hits and link clicks tothe not so obvious clicks on images, mouse movement on the page, mouse movement over an image or object, and even a timed heartbeat giving away how long a user remains on a page. This is certainly a different kind of privacy risk posed by AJAX than most of us are used to.

Don't get me wrong. I am all for advancing useful technologies. I am just concerned with the popularity and hype of AJAX compared with how practical it is to actually use it. Sites like Digg, Reddit, and Yahoo have implemented AJAX, but isn't it really just bells and whistles? On Digg, clicking Login slowly fades in a username/password box. Reddit uses the grey method where the background of the web page greys out to show a white login box in the center of the page.

Not really Reddit AJAX, but I couldn't resist


The non-techie user would be just as happy (maybe even more happy) to see a new page appear with a clear username/password box to perform the login.

AJAX's Promising Features

There are some uses of AJAX which show a great deal of promise to push web applications to the point where they antiquate the desktop apps. Of course, the look and feel of a web application compared with a desktop one is important. YouOS has an amazing display of AJAX; moving windows around the web page, loading data, and running multiple processes all within the web browser. This is a more practical implementation of AJAX. Yahoo's roll-over help boxes are a convenient use of DHTML (which may as well be considered in the AJAX world).

Yahoo Ajax in action


If developers can weigh their options more strictly regarding the usage of AJAX and the business world can reduce the hype, maybe we can put it to some good use. Until then, let's really consider how important AJAX is to the future of web application development .. or could we be focusing on something better?

 Comments (7)   Permalink

Comments

Some good points and an interesting read.

Posted by Anonymous on 8/29/2007 @ 8:57am

I can agree with the comments made below, but to defend the author: is it REALLY necessary to put a fancy login-form on your site? It doesn't contribute in the long run in my opinion. I mean, usability is a big thing, same as accessibility. When a blind person uses your page, that fancy form doesn't have any value does it? Sure thing that it looks cool, but that may never be a reason to use it.8/29/2007 @ 8:57am

Posted by Bert on 3/16/2007 @ 11:45am

Get a reality check NOW!!

Posted by Thomas Hansen on 2/28/2007 @ 3:36pm

A feature of AJAX applications that you completely overlooked is the ability for web pages to update WITHOUT user interaction. For instance, GMail updates my inbox when new messages arrive, without me having to hit refresh. This is better for usability in the cases where sites emulate rich applications, and the concept of a "web page" is stretched so far that it no longer makes sense to speak of a navigation in the traditional sense. Also, there is the argument for bandwidth conservation (you severely reduce the amount of transferred data when you can transfer only the updated parts of a web page, and not do a total refresh).

Posted by Simon Ask Ulsnes on 1/8/2007 @ 11:28pm

You're correct - the main usage of AJAX is to bypass postbacks - which leads to the hoopla and whatnot of "Web as application" because it's a technique that allows emulattion of rich clients. Myself, I use it to retrieve data from the server when I cannot readily POST, mainly due to client requirements.

Posted by Liam Clarke on 1/8/2007 @ 1:40pm

AJAX does two things you have neglected to mention; Firstly, it reduces the net amount of time needed to complete many common tasks, and secondly - and far more importantly in the long run - it dramatically reduces bandwidth usage. This may sound trivial when you serve 10-100 GB a month, but for larger sites it reduces operating costs by a full order of magnitude (When used correctly, of course).

Posted by Oren on 1/8/2007 @ 8:04am

Add your comment

Name:
Email:
URL:
Comment:
What is 3+5?:

Archives
http://www.dummysoftware.com