Mini-review & Competition Learning the Yahoo! User Interface library

Develop your next generation web applications with the YUI JavaScript development library.

        • Improve your coding and productivity with the YUI Library
        • Gain a thorough understanding of the YUI tools
        • Learn from detailed examples for common tasks

Learning the Yahoo! User Interface Library introduces the popular open-source YUI JavaScript library and takes the user through each of the fully released components in detail looking at the classes that make up each component and the properties and methods that can be used. It includes a series of practical examples to reinforce how each component should/can be used. Author Dan Wellman takes the reader from beginner to advanced-level YUI usage and understanding.


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.

In this book you'll learn

  • 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

Summary of Contents

  • Chapter 1: Introducing the YUI
  • Chapter 2: Creating Consistency With The CSS Tools
  • Chapter 3: DOM Manipulation and Event Handling
  • Chapter 4: AJAX and Connection Manager
  • Chapter 5: Animation and the Browser History Manager
  • Chapter 6: Buttons and Trees
  • Chapter 7: Navigation and AutoComplete
  • Chapter 8: Content Containers and Tabs
  • Chapter 9: Drag-And-Drop with the YUI
  • Chapter 10: Advanced Debugging with Logger

Who is this book 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.


Learning the Yahoo! User Interface library by Dan Wellman is a great tutorial for examining the library itself, providing with theory and many practical examples to apply immediately to code, as well as thorough explanations that enable readers to expand on and understand the code provided.

Dan starts from the A-B of the library. Presuming the reader has only heard of it when opening the book, Dan does a substantial introduction of the YUI, following an overall review of its components, enlisting them in the first chapter. Then the author picks up a selection of some of the most established utilities and in each next chapter he covers one or two of them.

The book teaches the reader how to use the CSS tools of the library, making element normalization and typing up text; DOM manipulation and event handling, presenting most useful DOM scripting techniques and relating them to the YUI. The author does a wonderful introduction to Connection Manager and useful connection style methods, and so much more... Usually he begins the chapter with a theory part which unnoticeably gradates in code for real usage and eventually he appends additional useful methods and tips.

We recommend this book as worthy for reading for anyone who has basic knowledge of JavaScript, HTML and CSS who wants to learn how to apply the YUI library in their projects, making them faster and more refined.


We've got a brand new mini-review and competition of Learning the Yahoo! User Interface library. The friendly people of Packt are giving away 5 books!

All you need to do, to enter the competition is, download the sample PDF and finish the following sentence:

"Connection Manager provides a fast and reliable means of..."

Send your answer to this e-mail address, before Wednesday the 13th of May 2008. Don't forget to include your post address and phone number (required for international shipping) in the e-mail.

Luba Sirakova

Luba SirakovaLuba Sirakova is happy to work as a Content Manager for Dynamic Zones – the company behind the zones network.

Luba graduated from Technical University Sofia with a Bachelor’s Degree in Computer systems and technologies. Now she masters her Master`s in HR.

See All Postings From Luba Sirakova >>


Be the first to write a comment

You must me logged in to write a comment.