Muffinresearch Labs by Stuart Colville

Yahoo! launches UI library and Design Patterns | Comments (0)

Posted in Code on 15th February 2006, 10:44 pm by Stuart

Yahoo! have released (under a BSD licence) a user interface library along with an accompanying set of design patterns. The library contains several utilities including Yahoo!’s own event handling and Ajax connection scripts. These helpers are designed to wrap up common requirements into a cross-browser solution so that developers don’t need to write all of this stuff from scratch everytime. I quite like Yahoo!’s modular approach to these utilities as you can just use the parts you need rather than including one large script like prototype for example.

There are currently three UI controls; Calendar, Slider, and Treeview. All of these components are purely clientside so you would have to work out the best way to allow them to degrade to some kind of server side fallback for when javascript isn’t available to the user-agent. The documentation supplied is good so it becomes very easy to add them into existing code and modify the settings as required.

To accompany the UI libray Yahoo have also released a set of design patterns to describe optimal solutions to common problems. This set of guidelines is a great resource for developers to help them formalise their ideas. One of the problems within a lot of websites is where the developer has set-out to create a whole new way to do something that is an established pattern. That being said patterns like these shouldn’t stop innovation but be a solid base for new ideas.

Yahoo!’s Graded Browser Philosophy (via Molly)

At the same time as bringing the Yahoo! user interface library to everyone’s attention, an article by Senior Web Developer Nate Koechley was published explaining Yahoo’s internal graded browser support strategy. The way it works is that Yahoo! evaluates each browser’s capabilities and popularity and a grade is given to designate what level of support it can expect to receive in terms of presentation and behaviour. Their approach hinged around what Nate refers to as “Progressive Enhancement”. Which is to provide as much of an experience as the users environment will allow them to.

Perhaps the most important thing about this document is that Yahoo! are openly publishing this kind of content and it’s confirmation that they see web standards as being important. Hopefully there will be more of this from Yahoo! in the future and with any luck this could inspire Google to pay a little more attention to web standards.

Post Tools

Comments: Add yours







XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Django Admin Ominigraffle Stencil|(0)

Colleague Alex Lee has created a nice stencil for omingraffle with the Django Admin UI components, perfect for wireframing customised admin screens. For more details and to download the stencil see Alex’s Blog csensedesign.co.uk

Scrolling issue in Leopard cured with PRAM reset|(0)

Having got a shiny new MacBook Pro to work on at my new workplace I’ve had a couple of strange problems with Leopard. The main issue was that when scrolling the graphics was suffering what appeared to be a strange redraw problem when scrolling. After googling I found this post:“Distorted graphics in Leopard when scrolling”.

Fortunately for me: resetting the PRAM has worked and the flickering issue has gone for now.

Photos on Flickr

© Copyright 2004-08 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by 1&1 This page was baked in 0.710s.