Learning the Yahoo! User Interface library

Dan Wellman

相關活動主題

商品描述

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.

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.