Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

  Tuesday, December 12, 2006 

AJAX and automation

Sean McGrath's latest column puts an AJAX spin on the age-old struggle between the human-accessible and machine-accessible aspects of software:

Making an application easier to use almost always means making better use of the users ability to see; to hear; to click buttons; to access drop down menus and so on. Unfortunately, computers themselves cannot see or hear. This results in a most unfortunate inverse relationship. Namely, the more visual and interactive and compelling an application is from a user interface perspective, the harder it is to make said application do its thing without human intervention. [Sean McGrath: AJAX and the hidden cost of ease of use]
And yet, my latest Gmail hack was accomplished pretty easily because, without digging into any AJAX code at all, I was able to capture an HTTP transaction, parameterize it, and replay it.

Now in fairness, I cheated by using the AJAX interface to emit a sample HTTP transaction that contained a lot of stuff I could not easily have fabricated from scratch. That's why it'll take a much smarter bear than me to incorporate my hack into libgmail. Still, if I'd wanted to plow through Gmail's obfuscated JavaScript source code, I might have been able to intercept and repurpose the method driving the HTTP transaction.

For these two reasons -- the transparency of the HTTP pipeline, and the accessibility of the JavaScript object model -- I think that AJAX is inherently more automatable than conventional GUI apps ever have been.

Comments


 


Recent Entries


















































Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS  IT EXEC-CONNECT   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist