Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax libraries

 
Nikes Shah
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,

I am new to Ajax development.

Can anyone tell me use of Ajax? Is it for UI development also or just for small part of data processing?

What I see on various sources is that there are various libraries available also like ext, DOJO, YUI (Yahoo User Interface), GWT (Google Web Toolkit).

Can anyone tell differences briefly among there and their purpose?
 
Cloudgen C.F. Wong
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nikes Shah wrote:Hello friends,

I am new to Ajax development.

Can anyone tell me use of Ajax? Is it for UI development also or just for small part of data processing?

What I see on various sources is that there are various libraries available also like ext, DOJO, YUI (Yahoo User Interface), GWT (Google Web Toolkit).

Can anyone tell differences briefly among there and their purpose?


AJAX originally stands for Asynchronous Javascript and XML which is a technique for downloading file with XML format from server aysnchronously without reloading the entire page. Nowadays, AJAX is not limited to download files with XML format, it also allows webbrowser downloading files with various format such as: pure text, JSON, JSONP, etc. Using the technique of AJAX, you can download a file asychronously or sychronously without reloading the webpage and changing the URL in the Address box in a webbrowser.

ext-js, DOJO and YUI are common "client-side" javascript libraries for simplifying the task in handling DOM Objects, AJAX communications and process events. They difference in their coding style, organization of code and their UI.

GWT is a java library for developing web applications (e.g. generating HTML code and javascript functions, including AJAX functions) mainly running on "Google App Engine"
 
Nikes Shah
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Cloudgen
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GWT isn't mainly for running on GAE; it's for people that want to wrap up their client-side code in Java. Whether or not that's a good idea is a different issue.

Prototype and jQuery are JavaScript-oriented libraries, which people have used to build GUI components. Things like Dojo and YUI are more "complete" JavaScript solutions that include similar functionality but also have a lot of GUI components already in the system. The GUI portions don't need to be used, however.

Each have their advantages and disadvantages, and which is chosen may depend on individual preferences as well as technical requirements.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic