Learning The Yahoo! User Interface Library


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, ...

See more details below
Other sellers (Paperback)
  • All (13) from $1.99   
  • New (4) from $34.20   
  • Used (9) from $1.99   
Learning the Yahoo! User Interface library

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
BN.com price
(Save 30%)$26.99 List Price


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.

Read More Show Less

Product Details

  • ISBN-13: 9781847192325
  • Publisher: Packt Publishing
  • Publication date: 3/31/2008
  • Pages: 380
  • Product dimensions: 7.50 (w) x 9.25 (h) x 0.78 (d)

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 4 Customer Reviews
  • Anonymous

    Posted August 2, 2008

    Excellent Book on YUI Library

    The Yahoo! User Interface Library is a free resource provided by Yahoo! for web developers. It's a collection of utilities that enable developers to build cross-browser web applications quickly and easily. This library has been around for a few years now and is very extensive. It contains utilities, components, controls (widgets), and CSS tools. This can be very confusing for the developer who has no previous experience with using these types of tools. Even though Yahoo! has some very good online documentation, it still can be difficult to get started using some of these many online tools. Dan Wellman really explains the main core components of YUI Library very well and would be very helpful to anybody wanting to quickly get started using the YUI. Dan starts off with a great overview of YUI, with some simple examples. Then in the next chapter (2), the author goes into the CSS tools that it provides to help the develop create consistent web pages of layout and design. The next chapter (3), explains many of the DOM and Event manipulation classes that are provided. This is a very useful chapter because many web pages that use JavaScript require manipulation of web elements on the page. Using many the DOM methods in YUI make it very easy to access any element on a web page. Continuing with the book, Dan then focuses on the Ajax and Connection Manager classes. Ajax has almost become the defacto-standard of displaying and access data on a web page and using classes explained in this chapter make it very easy to understand many of the useful examples the author use such as a log-in page, newsreaders, etc. I was able to following along very easily and create similar examples based upon the author¿s explanations. The rest of the book goes into many of the other useful classes such as: Animation, Buttons, Navigation Trees, Content Containers, and Drag-andDrop, and Auto-complete. You can create almost any type of web interface from the components that are explained from this great book. If there is one library you use, it should be the YUI Library because it is backed by Yahoo! so you know it is not going anywhere and fully tested and this should be your book that you buy to truly understand it. A great buy!

    1 out of 2 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted May 15, 2008

    useful tools and widgets

    Perhaps as a way to gain mindshare amongst programmers, Yahoo has released a user interface library. It lets webpage coders take advantage of a set of free and extensively debugged routines and widgets. Wellman explains how these are geared towards those who use CSS and, especially, JavaScript in their pages. At a purely pragmatic level, you need have essentially nothing to do with Yahoo, or with using its main set of domains (like for email). It's not like you'll be endorsing Yahoo with your uptake of its YUI library. Wellman points out that you need to be already conversant with CSS and JavaScript, and with Ajax. Though the book does a good book explaining Ajax from scratch. Of the various classes and widgets in YUI, you can pick and choose for your needs. The simplest and most useful might be reset.css. This does 'element normalisation'. The programmers at Yahoo surveyed the major browsers and the typical platforms on which these run. From this, they made reset.css. It acts as a default stylesheet, giving roughly the same presentation results across the browsers. Removing a major pain for you. Potentially a big time saver, as it might let you avoid a lot of low level miserable grubby details about checking out your pages on various browser + operating system combinations. The most complex section of the book is clearly the chapter on drag and drop. No surprise to any of you who might have coded DND, whether for a browser or for a desktop application. DND is often simply a real pain to code, in any language or environment. The YUI DND does help, somewhat, but still nontrivial.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted March 18, 2009

    My Review of YAHOO User Interface Book

    The book was definitely informative. It explained the subjects rather thoroughly. My biggest issue was that the book did not include the latest javascript widgets created by yahoo.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 11, 2008

    A good primer to learning the YUI

    The Yahoo! User Interface Library sits comfortably amongst its peers, which include Prototype, jQuery and Mootools amongst many others. Arguably it can be said that the YUI library is the king among the JavaScript and CSS-libraries. With a vast number of well documented examples and near 100% compatibility amongst modern browsers, it would be difficult to find a comparable library. It is one thing to be a well documented library, but it is another to know how to use the libraries to construct a user interface. This is the niche Dan Wellman fills with his book. Although not necessarily for the beginner, since you need a knowledge of CSS, JavaScript and a little AJAX, Wellman does a good job of explaining the concepts, especially AJAX, from scratch. Wellman provides an A-to-Z of the library and assumes, rightly, that the reader has little or no knowledge of the library. To that effect, he does a long introduction of the YUI, following an overall review of its components, listing them in the first chapter. He then picks up a selection of some of the most established utilities, for example navigation, animation and AJAX utilities and in the following chapters he covers one or two examples for each of them. Importantly, the book teaches the reader how to not only use the DOM manipulation and event handling aspects of the library, but also the CSS tools of the library. Wellman does a good job of introducing the technical aspects at the beginning of each chapter, but not dwelling too long before moving on to real usage and methods. What I would have liked to have seen is more interaction between different components written about in the book. Clearly building a fully-featured application that incorporates most or all of the key components would be unweildy, but individual and isolated examples doesn't equate real-world scenarios either. For example, it is quite conceivable that autocomplete and drag-and-drop components would be utilised on the same page it would have been good if Wellman had explained the pains or pitfalls that may be encountered with such combinations. The negativity aside, the examples are of a good quality. The book does contain a number of errors, but since this is the first edition you can probably forgive the editors from missing them. A major gripe I have with this book, indeed all technical books is the lack of colour throughout. It is far easier to read and understand the example code when code colouring is employed, allowing for easier understanding of the key elements in the code. Surely modern publishing techniques can mitigate against the extra cost of colour. Indeed, I would pay more for a well-written coloured technical book. A great summary chapter on graceful degredation versus progressive enhancement would also have been welcomed, since many developers may not consider the usability and accessibility issues of using JavaScript. This book is certainly a good read for anyone who has basic knowledge of JavaScript, HTML and CSS and who wants to learn how to apply the YUI library in their projects, making them more interactive for the user.

    0 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 4 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)