my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes Ajax libraries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Ajax libraries" Watch "Ajax libraries" New topic
Author

Ajax libraries

Nikes Shah
Ranch Hand

Joined: Jul 18, 2007
Posts: 133
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

Joined: Jul 15, 2009
Posts: 19
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"

cheers
Nikes Shah
Ranch Hand

Joined: Jul 18, 2007
Posts: 133
Thanks Cloudgen
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ajax libraries