Home arrow JavaScript arrow Page 4 - Book Review: Learning the Yahoo! User Interface Library
JAVASCRIPT

Book Review: Learning the Yahoo! User Interface Library


We've published many of Dan Wellman's articles here on Dev Articles, so it's a particular pleasure to review his first book. Learning the Yahoo! User Interface Library, published by UK-based Packt Publishing, promises to ease the job of JavaScript developers building web-based programs. Let's take a look between the covers.

Author Info:
By: Terri Wells
Rating: 5 stars5 stars5 stars5 stars5 stars / 8
August 12, 2008
TABLE OF CONTENTS:
  1. · Book Review: Learning the Yahoo! User Interface Library
  2. · What's a YUI?
  3. · AJAX, Animation and Buttons, Oh My!
  4. · Navigating the Rest of the Way

print this article
SEARCH DEVARTICLES

Book Review: Learning the Yahoo! User Interface Library - Navigating the Rest of the Way
(Page 4 of 4 )

Chapter seven deals with navigation and AutoComplete. Wellman shows you how to put together a basic navigation menu with the YUI library, as well as an application style menu bar and a right-click context menu. It looks surprisingly easy to do. The AutoComplete control does what you would expect: add typing suggestions when someone is putting text in a text field. The YUI library just gives you the front end of this control, so you'll have to create your own suggestion engine or use a third party for your back-end data source.

Wellman covers content containers and tabs in chapter eight. Oddly, the Container control in the YUI library is not actually a control, but a family of container-like controls that let you create different kinds of visuals for your website. These include modules, panels, tooltips, dialog boxes, and so forth. As to tabs, it's not at all surprising that the YUI library includes a TabView control, since it's used extensively on Yahoo's own web site. Wellman shows you that creating tabs is quick and easy with the TabView control, unlike more traditional methods (this also makes sense, given that programmers never want to make more work for themselves than they have to).

Users may love drag and drop operations on web pages, but they're a bear to code – unless you're using the YUI library's drag and drop capabilities, which Wellman covers in detail in chapter nine. Finally, in chapter ten, he explains how to debug code written with the YUI library by using Logger. The developers behind the YUI library understand the importance of debugging; that's why they created Logger. It isn't used in production applications; as Wellman explains, it is “just for you, the developer, to assist you primarily in the design phase of your site or application, but also in maintenance or upgrade phases as and when required.”

As I observed before, the content of the book as a whole is comprehensive and detailed. Wellman's writing style is easy to understand, allowing you to see the implications behind the adaptations you can make to each control. As an editor, however, I must admit that I found myself drawn up short a number of times by typos. Most were pretty obvious, but I winced when I saw that some of them concerned code.

Elizabeth Connick, in reviewing the book on Amazon's web site, noted that “in several code samples 'var' (the JavaScript statement that's used to declare a variable) was typed with a capital 'V.' For the uninitiated, JavaScript is case sensitive so 'Var' will NOT work and your program will fail.” Ouch. Please keep this in mind when you transcribe code samples from the book.

On the other hand, Connick did give the book four out of five stars, and I'd have to give it an eight out of ten myself. If you want to learn how to use the YUI library, and wish you had someone with a thorough knowledge of the subject sitting beside you to walk you through it, this book is the next best thing. 


DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus
JAVASCRIPT ARTICLES

- Project Nashorn to Make Java, JavaScript Wor...
- JavaScript Virus Attacks Tumblr Blogs
- Google Releases Stable Dart Version, JavaScr...
- Khan Academy Unveils New JavaScript Learning...
- Accessing Nitro? There`s an App for That
- JQuery 2.0 Leaving Older IE Versions Behind
- Fastest JavaScript Engine Might Surprise You
- Microsoft Adjusting Chakra for IE 10
- Brendan Eich: We Don`t Need Google Native Cl...
- An Overview of JavaScript Statements
- An Overview of JavaScript Operators
- Overview of JavaScript Variables
- More of the Top jQuery Social Plugins
- The Top jQuery Social Plugins
- More of the Top jQuery Slider Plugins

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials