On Mon, Jul 03, 2006 at 06:09:16PM +1000, Erik de Castro Lopo wrote:
> I need to get up to speed on AJAX as soon as possible.
> 
> Anyone out there who has figured it out and have any pointers/
> resources they can recommend?

AJAX itself is a pretty simple concept -- you make HTTP requests via
JavaScript in the browser via an XmlHttpRequest object, and then parse the
results and do crazy crap with it.

Typically you won't be doing that yourself, though, but rather using a
library (which abstracts away all of the unpleasant browser-specific stuff,
and typically has a bunch of nice convenience routines).  I've only used
Prototype, because it comes with Rails, but there's heaps out there.

Your best bet is to find a library that is already integrated with whatever
language environment you're using -- so I use Prototype because there's a
bunch of Rails methods that write Prototype guff into the views
(==templates) for me.  Most environments have something similar.

Failing that, you just need to find a library that does what you need to do
and go from there.  A description of what you want to do, in what
environments, should help a fair bit in identifying how to go about doing
it.

For background, there's everyone's favourite resource,
http://en.wikipedia.org/wiki/AJAX.  It's as good as any at running you
through the basics.

- Matt
_______________________________________________
coders mailing list
[email protected]
http://lists.slug.org.au/listinfo/coders

Reply via email to