dougo: (Default)
dougo ([personal profile] dougo) wrote2009-01-09 04:09 am

My first Ajax app

I want to get my feet wet with some Ajax programming. Should I start by using XMLHttpRequest directly? Or, which framework should I use, Prototype, jQuery, GWT, or something else? Wikipedia has a comparison of frameworks, but I thought I'd ask here first.

[identity profile] matthew.gray.org (from livejournal.com) 2009-01-10 02:34 am (UTC)(link)
Depends on what you mean by "get my feet wet". If you really mean, just "see how it works" or "make a purely toy app", then use XMLHttpRequest to learn the underlying gunk. If you mean "write a simple but useful/real app", use Prototype or jQuery (I'd pick jQuery). If you mean "write a complex/real app that I will want to evolve and maintain going forward", use jQuery or GWT. But, GWT is really a whole different ball-o-wax and has some major advantages, but it's also got some issues. Script.aculo.us is also worth a look.

[identity profile] dougo.livejournal.com 2009-01-11 12:15 am (UTC)(link)
It's a simple but useful/real app. No fancy UI stuff, just asynchronous POSTs and some dynamic rearrangement of content. What do you like about jQuery over Prototype?