Comparing Google Web Toolkit with AJAX

Opinion
Nov 2, 20062 mins

How does the Yahoo User Interface Library compare with the Google Web Toolkit for creating Asynchronous JavaScript and XML (AJAX) Web pages and applications?

The Yahoo User Interface Library (YUI) is a collection of JavaScript utilities and controls, licensed under BSD, for constructing HTML pages. The Google Web Toolkit (GWT) is a Java development framework, with open source and proprietary binary components, for generating Web pages containing HTML and JavaScript. The YUI provides JavaScript, Cascading Style Sheets (CSS) and HTML components that can be added to existing Web pages using a text editor. The GWT provides tools for generating Web pages from Java programs. Both provide AJAX development capabilities for Web applications. The YUI includes 16 types of controls and page layout grids, and examples of how each can be used. There are a variety of data entry widgets, including text-field autocompletion components, calendar-based date pickers and value-choosing sliders for making dynamic Web forms, along with drag-and-drop tools that support mouse-driven list reordering and in-page logging for debugging support. To use the YUI, download and unpack the zip file provided, then insert script tags and CSS links in your HTML file to include the desired YUI components, add appropriate JavaScript calls to the HTML to activate the YUI components and deploy the files to your Web server.