suburbia

Premshree's (品速力) Personal Weblog

etc.

Previous Entry Add to Memories Tell a Friend Next Entry
Yahoo! User Interface Library
suburbia
[info]premshree

Yahoo! just released the Yahoo! User Interface Library, under a BSD license. From the website:

The Yahoo! User Interface Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, HTML and AJAX. The UI Library Utilities facilitate the implementation of rich client-side features by enhancing and normalizing the developer's interface to important elements of the browser infrastructure (such as events, in-page HTTP requests and the DOM). The Yahoo UI Library Controls produce visual, interactive user interface elements on the page with just a few lines of code and an included CSS file. All the components in the Yahoo! User Interface Library have been released as open source under a BSD license and are free for all uses.

A lot of us at Yahoo! have been using them to build cool “toys” (see here for an example). These libraries are amazingly simple to use. Now they are available for all of y’all to use. Do cool stuff!

Basically, the core utilities include the following:

Animation: Create "cinematic effects" on your pages by animating the position, size, opacity or other characteristics of page elements. These effects can be used to reinforce the user's understanding of changes happening on the page.

Connection Manager: This utility library helps manage XMLHttpRequest (commonly referred to as AJAX) transactions in a cross-browser fashion, including integrated support for form posts, error handling and callbacks.

DOM: The DOM Utility is an umbrella object comprising a variety of convenience methods for common DOM-scripting tasks, including element positioning and CSS style management.

Drag and Drop: Create draggable objects that can be picked up and dropped elsewhere on the page. You write code for the "interesting moments" that are triggered at each stage of the interaction (such as when a dragged object crosses over a target); the utility handles all the housekeeping and keeps things working smoothly in all supported browsers.

Event: This sophisticated manager class gives you easy and safe access to browser events (such as clicks and key presses). The Event package also includes the Custom Event object, a mechanism for publishing and subscribing to interesting moments in your own application flow.

In addition to the above core utilities, there’s also a few commonly used controls:

Calendar: The Calendar Control is a graphical, dynamic control used for date selection.

Slider: This control provides a generic slider element that enables the user to choose within a finite range of values on one or two axes.

TreeView: The TreeView control produces a content tree whose nodes can be expanded and contracted by user interaction (and by script, where necessary). The nodes can contain links or custom properties and can be loaded dynamically. The display of the node elements can be customized with CSS to create a folder view, to-do task list, and so on.

There’s also a Design Patterns Library that the UED geeks at Yahoo! have worked on.

There’s an accompanying blog to all this stuff too.


(Leave a comment)
too cool! good to see yahoo! is working to provide a standard platform for programmers to easily develop and deploy applications without having to worry about making "good looking UI elements".....
I wrote something about it some time back on my blog, if you care, The Missing Link

Hey Premshree, thanks for the write up. I hadn't seen the licens0r before, that's cool. Feel free to post any uses of the libraries in the y!group for this stuff: http://groups.yahoo.com/group/ydn-javascript/

thanks,
nate

Hey, congrats to all you guys! Good times ahead.

wOw coOL

(Anonymous)

2006-02-19 05:23 am (UTC)

Hey the Y! UI Library is really coOL!!!

Hats off to guys at Y!

Even the Y! Design Patterns lib is a interesting read.

Thnks!





wOw coOL

(Anonymous)

2006-02-19 05:31 am (UTC)

--Akshay

digital cameras for people. New catlog.

(Anonymous)

2007-02-09 11:12 am (UTC)

MESSAGE

Hola mardena

(Anonymous)

2007-08-03 05:04 pm (UTC)

Hola mardena!
falikotrepat


(Leave a comment)