• On TechRepublic: Five super-secret features in Windows 7
November 12, 2008 5:27 AM PST

Yahoo testing new user interface framework

by Dan Farber
  • Font size
  • Print
  • 9 comments

(Credit: Yahoo)

Yahoo may be having problems running its business and keeping good people, but the company continues to be innovative around the user experience.

CEO Jerry Yang talks about making Yahoo the starting point for the Web and about making Yahoo's pages more open. The latest iteration of the Yahoo front page (above) takes advantage of a new YUI 3, a framework for building user interfaces and will allow users and developers to customize the page.

Here are notes from Yahoo engineer Nicholas C. Zakas about the new framework:

1. Eliminate global dependencies. We wanted each part of the page to operate separately from all of the others. Each part should have no knowledge of what else is on the page and therefore can't depend on objects to be globally available. The 2.x library is based on the global YAHOO object, which we would have had to abstract away; the 3.x concept of YUI instances that could be individually manipulated worked perfectly to achieve this goal.

2. Make it small, make it fast. The Front Page can't afford to be slow, so we needed to have as little code as possible to get everything up and running. YUI 3 impressed us with its organization into small, atomic units that allowed us to specifically include parts of the library that we wanted while eliminating parts that were unnecessary. Further, one of the goals of YUI 3 was to optimize for runtime execution and make it faster than the 2.x version. Once again, YUI 3's approach was directly in line with the Front Page's goals.

3. Create version independence. From the start, we didn't want to have dependencies on specific versions of YUI components as this can lead to maintenance issues. What we really wanted was for each part of the page to be able to use whatever version of the components that they wanted. The sandboxing feature of YUI 3 opened up the possibility of having two (or more) YUI instances each loading different versions of various components while not interfering with each other.

4. Allow code portability. Having worked at Yahoo for a combined five years, Steve and I knew that anything we put on a Yahoo property could be a candidate for porting to someplace else. We knew that this possibility meant the code had to stand on its own and not make assumptions about the environment in which it was placed. We thought about the most difficult environment possible: a locked-down browser environment where the JavaScript code has no direct access to the DOM. Since YUI 3 can abstract away the DOM through its Node interface, we had the entrypoint necessary to make this requirement a reality.

5. Be forward compatible. The project to create a new Front Page is an incredibly long one and we wanted to be as forward-looking as possible. We knew that if we created the framework on YUI 2.x that we'd be hard pressed to get time to upgrade later on. By building on YUI 3 from the start, we eliminated the need for developing an upgrade path later on.

The new front page is in "bucket" testing, which means that random people will see the page, and was first unveiled in September.

Dan Farber is editor in chief of CBS Interactive News, which includes CBSNews.com and CNET News. He has more than 25 years of experience as an editor and journalist covering technology. E-mail Dan.
Add a Comment (Log in or register) (9 Comments)
  • prev
  • 1
  • next
by n3td3v November 12, 2008 5:49 AM PST
you can put lipstick on a pig but its still a pig.
Reply to this comment
by thoughtdream November 12, 2008 6:17 AM PST
Unless they change their login process I ignore all Yahoo news. I'd like to get back into Yahoo but I can't login. Google, on the other hand, has figured out how best to deal with corporate environment users since it's part of their main client base. I can login. I can even install Chrome if I choose. Yahoo? Can't login = can't do jack squat = don't care about Yahoo.
Reply to this comment
by kendall43 November 12, 2008 7:40 AM PST
I'd like to use Yahoo front page, but when they commit a huge piece of prime front page real estate to advertisements, I just can't accept the distraction. igoogle front page has no advertisements--much easier to tolerate
Reply to this comment
by n3td3v November 12, 2008 8:41 AM PST
yup, http://search.yahoo.com should have been the default yahoo homepage years ago. the current yahoo portal should be an optional extra.
by Apolune November 12, 2008 1:47 PM PST
Another "exciting" development from Yahoo! How many months until the Yangsters lose all enthusiasm for this one and launch still another pipe dream?

My disgust with Yahoo! has become near-complete over the last year. There's very little that they do right anymore.
Reply to this comment
by rugisis1 November 12, 2008 1:50 PM PST
yeah i got that stupid page on my home computer every time i got to yahoo.com... yahoo used to be my home page until that thing showed up. Anybody know how do i get rid of it? Its super annoying
Reply to this comment
by smithj_33 November 13, 2008 3:38 AM PST
Google will catch up to Yahoo on the portal side some day....
Reply to this comment
by thejokker November 13, 2008 4:50 PM PST
Yahoo still has a solid collection of web property, if only they could find a way to blend them together.

yahoo has
--sports
--news
-answers
-flickr
-music
-shopping
-delicious

but they are so big and clunky that so many of their rarely used sites look like they are from the early 90s
Reply to this comment
by GslMusic August 28, 2009 4:18 PM PDT
Yahoo, like most arrogant software or tech companies, changes the layout and location of major UI elements for no reason at all causing millions of people to have to "relearn" a "new" user interface. We're living in the age of marketing hype and software arrogance.
Reply to this comment
(9 Comments)
  • prev
  • 1
  • next
advertisement

About Webware

Say No to boxed software! The future of applications is online delivery and access. Software is passé. Webware is the new way to get things done.

Add this feed to your online news reader

Webware topics

The 411 on early-termination fees

Verizon Wireless has doubled its early-termination fees for smartphones, but what does it mean for the rest of the industry?

Google has its own plan for Netbooks

No, the search giant isn't saying it will build a Netbook. But it sure knows what it would like one running Chrome OS to resemble, and that's a little different from the Netbook of today.
• Screenshot tour of Chrome OS

Inside CNET News

Scroll Left Scroll Right