X
2008

Yahoo! Testing New Home Page Includes Updated User Interface

November 13, 2008 0

New York — Yahoo is at it again, having bundled with problems running its business and keeping good people, the company continues to take on risky proposition: Yahoo! is quietly updating its homepage, which went into testing a couple months ago. The redesign effort also overlaps with the new user interface, YUI 3.

CEO Jerry Yang speaks about making Yahoo the starting point for the Web and about making Yahoo’s pages more open on the Web while also displaying Yahoo!’s commitment to openness. The latest redesigning of the Yahoo homepage takes advantage of a new YUI 3, a framework for building user interfaces and will allow users and developers to customize the page.

From the engineering team’s perspective, this meant turning the Front Page into a framework upon which Yahoo! and its partners could build new functionality and experiences rapidly.

The company used the framework from its customized My Yahoo! start page to build the new home page. Here are notes from Yahoo engineer Nicholas C. Zakas about the new framework:

  • 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.
  • 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.
  • 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.
  • 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.
  • 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.