Skip to main content

AJAX - Is it really worth it?

With the onset of interactive web pages that update dynamically the moment you move your mouse over a control, development of an AJAX (Asynchronous Javascript And XML) based web site adds to the complexity.

For one, they mess up with your browser history and limit your ability to bookmark a particular page as almost all contents are loaded "in-page". The other disadvantage I see is the in-ability of custom scripts to access the site and extract information.

For example, I can write a perl script that can access the Indian Railways page and query the arrival of a particular train. If the site used AJAX, it's going to be more difficult. Cellphones that bundle with micro-browsers either lack javascripting or access is usually blocked by service providers leaving you grapping with an empty framework with no actual data in it.

Development wise, you introduce a sense of uncertainty into your web-page where when your page looks like it has completed loading, more data is still being AJAX'ed. This may lead to difficulties in maintainability.

Though there are a lot of benefits of using AJAX, the main being better user experience, for scripters, this is a blocker.

  1. A parallel web-service based interface would help those who are armed with Perl or Python to extract useful information at a jiffy
  2. A simplified web alternative will cater to the needs of the cellphone user or the average scripter.
Amazon, Google and a few other providers focus and provide open Web Services and / or a simplified interface, but this is something lacking from mosr of the other providers... With the popularity of consolidation sites (www.google.com/ig anyone?), hopefully this will change.

Comments

Popular posts from this blog

Battle of Wesnoth Been on the lookout for a free turn based strategy game and chanced upon the Battle of Wesnoth . Despite it being an open source game (meaning, you get the source), it was incredibly polished akin to any of the other turn based strategy game (Alpha Centauri), be it the background score or the graphics or the tutorials. The game itself is set in a period similar to the D&D or nethack era. For the film buffs, if you have read or seen the Lord of the Rings, you would probably be able to relate to the clans that populate the game world. The game play, as with any turn based strategy game requires background information on each of the units that you own, their strengths and weaknesses and a lot of planning (a kin to chess, but with a lot more parameters) where factors like day - night cycles are taken into account (e.g, humans fight well during the day, but the orcs are better during the night). It is encouraged to keep your older units as they gain experience and beco
Helmet and seat-belt mandated at TN Today morning, I was pleasantly surprised to see most bikers (along with pillion riders) traveling with their helmets on as TN geared itself from the 1st of June to make it mandatory to wear helmets for bikers and seat belts (for the front seat passengers) for car commuters. The FM radio RJs had been conducting on-the-road commentaries, catching helmet-less riders seeking justification on why they had not yet acquired one (the helmet) yet. The shamed few who got caught eventually were presented with a helmet. One the way (near Tirumangalam), I couldn't help notice people flocking near put-up helmet shops on the sidewalks, trying to acquire the license to ride a bike! Let's hope the momentum carries on...
On the way to Sholinganallur via the IT highway, a flock of Pelicans have made the backwaters their 'in-transit stay' much to the delight of the commuters. Most of the commuters slow down and some (including myself) visited over the weekends to take a snap of the feathered friends.