Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To the authors: best way to start learning Ajax?

 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi -

I know virtually nothing about "Ajax". What's the best way to get started? Pick a framework at random? Start from the bottom up, cutting/pasting and experimenting with some JavaScript snippets?

What are your thoughts about a good, gentle, not-too-frustrating introduction to Ajax?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Concerning books, a brain friendly way to start would be Head Rush Ajax. You'll learn the minimum in no time.
Using Ajax is not so difficult, but using it properly is another story. If you want to know more, you can try Ajax In Action. Very instructive.

A little intro:
http://en.wikipedia.org/wiki/Ajax_%28programming%29
 
Ryan Asleson
Author
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your best bet is to start small and work from there. You can search the web for some tutorial articles on Ajax, and of course any of the fine books available will help you too.

Either way, I recommend that you first learn the basics of Ajax using the bare XMLHttpRequest object. You don't need to completely master it, but you should have at least a vague idea of what it does and how it works, because most Ajax frameworks are built on top of the XHR object. If you have an understanding of what the framework or library is doing for you under the covers, you'll be better equipped to handle problems when they arise.

To get started with Ajax, do a small example like validation or something like that. Doing so will give you a feel for how Ajax interactions work and behave, and once you have that you can move to bigger and better things.
 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ryan - thank you very much: exactly what I was looking for.

Satou - I leafed through "Head Rush Ajax" the other night. Although I like the author (I have both the first *and* second editions of Brett McLaughlin's most excellent "Java & XML"), that particular book was definitely not for me. But thank you for the recommendation!

Your .. PSM
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like to go out to the store buy an industrial size container of the stuff, get a nice sponge and start scrubbing. I start with a small spot and work my way up to the bigger stains.

(Its friday, need some fun)

Eric
 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, Eric - but I've always preferred "Comet"

PS:
I browsed through "Ajax in Action" at my local Borders the other night, too. Looks like an awesome book - good job!

PPS:
They didn't have any copies of "Pro Ajax and Java Frameworks", so I don't have any opinion on that one, yet. Who knows - maybe I'll win a copy here ;-)
[ September 22, 2006: Message edited by: Paul Santa Maria ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic