Developer Network Home - Help

Yahoo! Developer Network blog: March 2007 Archives

« February 2007 | Main | April 2007 »

Web Services Archive

March 28, 2007

Introducing the Yahoo! Mail Web Service

At Yahoo!, we pride ourselves on helping people around the world (over 500 million of them!) connect and communicate with each other using the vast array of communications platforms we offer. Of those platforms, the most popular is Yahoo! Mail, with nearly 250 million users worldwide, making Yahoo! Mail the #1 email provider in the world. I've had a Yahoo! Mail account for years, and for me, Yahoo! Mail passes the proverbial "mom test" -- my mother is a loyal Yahoo! Mail user. Chances are that you use Yahoo! Mail to communicate with someone you care about, and we're proud that Yahoo! Mail continues to be integral to so many lives.

While we are certainly proud of the success of Yahoo! Mail, today we are announcing how we are going beyond the boundaries of the Yahoo! network and enabling developers to build new tools or applications around Yahoo! Mail. We are thrilled to announce the open availability of the Yahoo! Mail Web Service, web service for Yahoo! Mail (accessible via SOAP or JSON-RPC) that we previewed to Yahoo! Hack Day attendees. With the Yahoo! Mail Web Service, you can connect to the core mail platform to perform typical mailbox tasks for premium users such as list messages and folders, and compose and send messages (you can also build mail preview tools for free users with limited Web Service functionality). In other words, developers outside of Yahoo! can now build mail tools or applications on the same infrastructure we use to build the highly-scaled Yahoo! Mail service that serves nearly 250 million Yahoo! Mail users today -- users who might want to help you make some cash with your application.

Yes, cash. With this release, Yahoo! Mail Web Service developers can earn referral commissions by building compelling applications targeted at our premium email users. For a trial period, Yahoo! Mail is offering an incentive for developers to build applications using the full functionality available for premium Yahoo! Mail accounts. Specifically, Yahoo! Mail is currently providing a commission of $10.00 for every new Yahoo! Mail Plus account referred by approved developers. Read the Yahoo! Mail Web Service documentation for more details on how to participate. As the program evolves, we will continue to evaluate and consider additional business models for developers, ISVs, and partners. Let us know what you would like to see in the comments, or post to our suggestion board -- we're listening.

The Yahoo! Mail Web Service is a big release for Yahoo! and the Internet, and it's only the beginning of what you'll be seeing from Yahoo!. Jump into our code samples for Java, .NET, PHP, Perl and Python, and build your dream mail app today, then be sure to give us feedback on your experience so we can continue to make the API even better. Be sure to leverage the online Yahoo! Mail Web Service support group where you can get help from the Yahoo! Mail Web Service team and your fellow developers. We can't wait to see what applications you will build when you add your imagination to the platform. Maybe you want to build an application that backs up Yahoo! mail targeted at a large number of Yahoo! users, or maybe you just want to add a niche feature that makes Yahoo! Mail better for your mom. For inspiration, we've gathered a few applications:

You can show your applications to the world by adding them to the Yahoo! Developer Network Gallery under the Mail category. This is an exciting time for us at Yahoo! as we continue to push innovations like the Yahoo! Mail Web Service to the developer community. By offering a platform that is scalable, reliable, and already being used by nearly 250 million customers worldwide, we're enabling developers of all types to harness the massive power of the Yahoo! network and platform. We can't wait to see what you build on the world's #1 email platform!

You can watch a short screencast here (or download the full video) with Ryan Kennedy as he explains more about the Yahoo! Mail Web Service in detail:

To post this video on your web site, use the following embed code:


And Hack Day hacker Leah Culver demonstrates her Flickr Postcard hack which uses Yahoo! Mail Web Service too (full download here):

To post this video on your web site, use the following embed code:

Chad Dickerson, Head of Yahoo! Developer Network

Posted by Chad Dickerson at 2:00 PM | Comments (30)

March 20, 2007

High Performance Web Sites: The Importance of Front-End Performance

In 2004, I started the Exceptional Performance group at Yahoo!. We're a small team chartered to measure and improve the performance of Yahoo!'s products. Having worked as a back-end engineer most of my career, I approached this as I would a code optimization project - I profiled web performance to identify where there was the greatest opportunity for improvement. Since our goal is to improve the end-user experience, I measured response times in a browser over various bandwidth speeds. What I saw is illustrated in the following chart showing HTTP traffic for http://www.yahoo.com.

In the figure above, the first bar, labeled "html", is the initial request for the HTML document. In this case, only 5% of the end-user response time is spent fetching the HTML document. This result holds true for almost all web sites. In sampling the top ten U.S. websites, all but one spend less than 20% of the total response time getting the HTML document. The other 80+% of the time is spent dealing with what's in the HTML document, namely, the front-end. That's why the key to faster web sites is to focus on improving front-end performance.

There are three main reasons why front-end performance is the place to start.

  1. There is more potential for improvement by focusing on the front-end. Cutting it in half reduces response times by 40% or more, whereas cutting back-end performance in half results in less than a 10% reduction.
  2. Front-end improvements typically require less time and resources than back-end projects (redesigning application architecture and code, finding and optimizing critical code paths, adding or modifying hardware, distributing databases, etc.).
  3. Front-end performance tuning has been proven to work. Over fifty teams at Yahoo! have reduced their end-user response times by following our performance best practices, often by 25% or more.

Our performance golden rule is: optimize front-end performance first, that's where 80% or more of the end-user response time is spent.

Steve Souders

[Steve Souders is Yahoo!'s Chief Performance Yahoo!. This is one in a series of Best Practices for Speeding Up Your Web Site. This article is based on Steve's book High Performance Web Sites, published by O'Reilly.]

Posted by stevesouders at 9:16 AM | Comments (22)

March 5, 2007

A demo of Pipes with Pasha and Ed

Pasha Sadri and Ed Ho gave YDN a complete walk-through of Pipes. Ed first showed us how to create a Pipe and shared some examples of clever ways to use it. Pasha then explained some of the thinking behind Pipes and how it was conceived.

To post this video on your web site, use the following embed code:

The demo is also available on Yahoo! Video here.

Posted by Matt McAlister at 9:45 PM | Comments (4)

Search SDK Updated

The Yahoo! Search SDK gets a minor facelift today with several improvements. A ColdFusion example is now included as well as ActionScript 3 and Flex examples for Flash developers, and an overhauled Python library. All web service calls now use the yahooapis.com domain since the old web service domain will eventually be turned off. Props to all our SDK authors including newcomers Raymond Camden, for the ColdFusion example, and one of our own pro Flash developers, Alaric Cole, for the new Flex and ActionScript 3 content. You can download the new SDK here.
[Update 2:30pm PST: we accidently posted a slightly different package structure for the ActionScript 3 and Flex examples than originally intended. We have now corrected that and re-posted the SDK as version 2.11 ]

Jason Levitt

Posted by at 11:22 AM | Comments (1)

Copyright © 2008 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings