Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

In Detail The Yahoo! User Interface (YUI) Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML, and AJAX. The YUI Library also includes several core CSS resources. All components in the YUI Library have been released as open source under a BSD license and are free for all uses. This book covers all released components whether utility, control, core file, or CSS tool. Methods of the YAHOO Global Object are used and discussed throughout the book.
The basics of each control will be presented, along with a detailed example showing its use to create complex, fully featured, cross-browser, Web 2.0 user interfaces. Besides giving you a deep understand of the YUI library, this book will expand your knowledge of object-oriented JavaScript programming, as well as strengthen your understanding of the DOM and CSS. You will learn to create a number of powerful JavaScript controls that can be used straight away in your own applications. What you will learn from this book?

  • Explore the YUI Library--utilities, controls, core files, and CSS tools

  • Install the library and get up and running with it

  • Handle DOM manipulation and scripting

  • Get inside Event Handling with YUI

  • Create consistent web pages using YUI CSS tools

  • Work with Containers--implementation, skinning, adding transitions, and tabs

  • Debug, maintain, and update applications with the Logger control

  • Examples included in the book:

  • Calendar interface

  • Autocomplete

  • Creating panels

  • Dialogs

  • Custom tooltips

  • Forms

  • Split button

  • TreeView Control

  • Browser History Manager with Calendar

  • Simple animation

  • Custom animation

  • Creating tabs and adding content dynamically

  • Dragging and dropping

  • Implementing sliders

  • Logger at work

  • Logging custom classes

Approach The book is a tutorial, leading the reader first through the basics of the YUI library before moving on to more complex examples involving the YUI controls and utilities. The book is heavily example driven, and based around an approach of tinkering and extending to improve. Who this book is written for? This book is for web developers comfortable with JavaScript and CSS, who want to use the YUI library to easily put together rich, responsive web interfaces. No knowledge of the YUI library is presumed.

Subscriber Reviews

Average Rating: 2.3333333333333335 out of 5 rating Based on 3 Ratings

"absolutely horrible" - by Anonymous on 12-NOV-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I agree with amazon.com reviews on this book.  Exercises just don't work.
Report as Inappropriate

Table of Contents

 Index