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>



Using Loggerhead with mod_wsgi|(0)

Here’s a post I wrote over on the Project Fondue Blog about our use of Loggerhead with mod_wsgi under Apache. Loggerhead is the rather nice branch viewer for bazaar branches as used on Launchpad.net.

If you’re not already subscribed to the Project Fondue blog feed then I can recommend it, as there should be some interesting posts coming out of there in the coming months (yes I’m unashamedly biased!).

Ubuntu: Turn off changing workspace with mouse wheel|(1)

I found the changing with the workspace with the mouse wheel really annoying. To disable it go to System => Preferences => CompizConfig (available if the compizconfig-settings-manager package is installed) and uncheck “Viewport Switcher” which is under the “Desktop” heading.

Photos on Flickr

© Copyright 2004-10 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.536s.