jQuery UI 1.7 By Dan Wellman

Posted November 23, 2009 at 9:16 AM by Ben Nadel

Tags: Javascript / DHTML, Books

This weekend, I finished reading jQuery UI 1.7 [The User Interface Library For jQuery] by Dan Wellman (released by PACKT Publishing). It's a follow-up to his jQuery UI 1.6 book, which I reviewed in early 2009. With a technology that is evolving as fast as jQuery, it's important that the documentation keep up such that we may know how to best leverage the tools that we have available; Dan's latest book, jQuery UI 1.7, does just that - bringing us completely up-to-speed with all aspects of the jQuery UI library.


 
 
 

 
jQuery UI 1.7 [The User Interface Library For jQuery] By Dan Wellman And PACKT Publishing.  
 
 
 

One thing that I was thrilled to see when reading this book was that after a brief introduction to jQuery and jQuery UI, Dan dives directly into the jQuery UI CSS framework. With the 1.7 release of jQuery UI, the library has become completely standardized in the way that the markup and CSS classes are applied to the library widgets. Not only does this make it easy to uniformly skin the widgets (via tools like ThemeRoller), it provides a good structure for anyone hoping to create their own custom user interface widgets.

Dan covered the CSS framework in chapter 2, but I was very happy to find the CSS framework being brought up as a consistent theme throughout the book; each widget-based chapter takes time to examine the programmatically-generated HTML of each widget instance as well as how the phenotype of each widget might be overridden with some simple CSS rules. Whether through the configuration options or through customized CSS, Dan really does a great job of painting a picture of flexibility; as with any library, it's important to not feel like you've locked yourself into a corner, and Dan takes great care to drive home the point that jQuery UI is empowering, not constraining.

The CSS exploration in this book was very good and it made me greedy; I wanted to see more. Particularly, I would have loved to have seen a chapter dedicated to the concept of authoring your own jQuery UI widgets. Throughout the book, Dan touches on this concept, showing us were we might use a ui-widget-header or ui-widget-content class to theme our own markup, but authoring as a topic was never really fleshed out. Of course, I have a suspicion that an exploration in authoring widgets would fill another book, not just another chapter (hint hint ;)).

Beyond the CSS framework and all that it entails (which is something that I was particular interested in), the book provides exhaustive documentation of how the UI widgets and UI behaviors work. Starting each widget with the out-of-the-box default configuration, Dan discusses what each option, callback, and event binding does and how we can leverage them to enhance the user experience. When it comes to the UI behaviors (drag, drop, resize, select, sort), which are by nature less tangible, Dan takes extra care to step through examples with increasing complexity, describing real-world scenarios in which the various behaviors might be used (ex. maze game, task list, image viewer, Google-style portal).

In addition to the focused explanation of each widget and behavior, Dan also demonstrates the high-intercompatability of the various library components. Whether it's nesting tabbed interfaces within accordions, accordion interfaces within modal windows, date pickers as modal prompts, or applying sortability behaviors to tabbed interfaces, I was very happy to see that the underlying structure of the jQuery UI library was so well thought out that nesting one widget within another causes no complications.

Overall, jQuery UI 1.7 [The User Interface Library For jQuery] is a very thorough book and definitely a solid resource for anyone looking to become familiar with the ins and outs of the library. Dan Wellman has a clear and easy-to-follow writing style and lays out his examples with increasing complexity in a way that everyone can understand. He appears to have a good grasp on the underlying CSS framework, and in fact, this is a topic on which I'd like to see him write a lot more.




Reader Comments

Nov 23, 2009 at 9:28 AM // reply »
66 Comments

Thanks for the review, Ben!


Nov 23, 2009 at 12:04 PM // reply »
7 Comments

great review, Ben!
exactly what i was waiting (and hoping) for - i bought the book straight away after reading your review, but from PACKTpub.com directly - their cover price is a bit better, AND you can use the DZone promo code to get further 20% discount (!): http://java.dzone.com/announcements/get-20-dzone-members-books

Azadi


Nov 23, 2009 at 12:08 PM // reply »
7 Comments

PS:
and don't forget to fill out a short survey after the purchase (if you buy from PACK directly) - you will get a 40% discount promo code for future purchases.

Azadi


Nov 23, 2009 at 12:38 PM // reply »
11,238 Comments

@Azadi,

Awesome! I really hope you like it.


Nov 23, 2009 at 1:33 PM // reply »
32 Comments

@Ben,

Would you need to read the first book before reading this one?


Nov 23, 2009 at 1:35 PM // reply »
11,238 Comments

@Daniel,

Definitely not. There's nothing in the first book that is not covered in the second book (in a more up-to-date way).


Post A Comment

Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.

Please review the following issues:

Author Name:


Author Email:

Author Website:

Comment:

Supported HTML tags for formatting: <strong>bold</strong>   <em>italic</em>   <code>code</code>







  • Help Wanted - Find Your Next ColdFusion Job
Ben Nadel's Company - Epicenter Consulting Recent Blog Comments
May 17, 2013 at 7:42 PM
HashKeyCopier - An AngularJS Utility Class For Merging Cached And Live Data
Ben - thanks so much for posting these Angular articles and findings, they've been a huge help towards learning one of the more 'complex' JavaScript frameworks out there (IMO). I have been using Angu ... read »
May 16, 2013 at 5:01 PM
UPDATE: Parsing CSV Data Files In ColdFusion With csvToArray()
Your code was the closest thing I've found to obtaining some direction for converting ISO fields to values that CF can translate properly. Thank you for posting! ... read »
May 15, 2013 at 10:37 PM
Very Simple Pusher And ColdFusion Powered Chat
hi id making plz easy ... read »
May 15, 2013 at 6:07 PM
Making SOAP Web Service Requests With ColdFusion And CFHTTP
Ben, you once again saved my bacon at work. Thank you, thank you, thank you! ... read »
May 15, 2013 at 4:15 PM
What If All User Interface (UI) Data Came In Reports?
@Josh, Thanks! @Ben, I definitely recommend the David West book "Object Thinking" I've been quoting from. It goes deeply into the philosophy and history of OO programming. His breadth ... read »
May 15, 2013 at 11:36 AM
Ask Ben: Print Part Of A Web Page With jQuery
I found this helpfull when you need to keep (refresh) the original parent page after closing the iframe child print dialog (Hoping you're not using a form at this time so it won't submit again): On ... read »
May 14, 2013 at 7:13 PM
What If All User Interface (UI) Data Came In Reports?
@Jonah, If there's any books you'd recommend on the subject of domain modelling, I'd love to hear it. I just downloaded the free PDF of "Domain Driven Design Quickly". Figured I'd give it ... read »
May 14, 2013 at 6:57 PM
The UX Of Prototyping: Low-Fidelity Is The New High-Fidelity
@Phillip, I'm not sure I follow what you mean? Are you saying that you looked at the list of widgets provided by the jQuery UI and let that be your style guide? ... read »
InVision App - Prototyping Made Beautiful With Prototyping Tools