Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Book Promo : "Prototype and Scriptaculous in Action" - Questions

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dave Crane,Tom Locke and Bear Bibeault

Thanks for this new book promotion.Here is my questions...

a) What would be the most common mistakes people make when debugging Ajax?
b) Do Ajax technologies expanding outside of Web app development in the future? If so, how?


Thanks
 
author
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ashoka,

a) What would be the most common mistakes people make when debugging Ajax?

I'm not quite sure how to answer that one. If you are using a debugger, rather than alert(), then you're heading in the right direction! It's worth spending time with Firebug, and/or the IE Dev toolbar and MS Script Debugger, and Fiddler to figure out what they can do - with the DOM inspectors, debuggers and HTTP listeners, you can get a good handle on what your app is doing, and even modify it on the fly if you need to experiment a bit.

One common mistake that I can think of, I guess, is to generate Javascript from a dynamic resource (JSP, PHP, etc.) when you don't need to - I try to keep all my JS in plain old static .js files. Debuggers can get confused hy generated scripts, and lose your breakpoints.

b) Do Ajax technologies expanding outside of Web app development in the future? If so, how?

Several people seem to think so! Adobe's Apollo is heading that way, and various flavours of HTML-based widgets are already here (Yahoo! Widgets, mac Dashboard, Vista gadgets). Firefox is a nice development platform too, I've been told, and version 3 is providing offline storage, apparently. So there's definitely a blurring of the boundaries between web apps and desktop apps.

Cheers,

Dave
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Ashoka",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted, often without warning

Accounts with invalid display names are not eligible for book promotions.

thanks,
Dave
 
    Bookmark Topic Watch Topic
  • New Topic