Announcing YAP 2.1 with OpenSocial 0.9 Support

The launch of version 2.1 of the Yahoo! Application Platform (YAP) introduces significant improvements to integrate OpenSocial 0.9 and the Shindig backbone support into YAP. This upgrade eases the migration of an application from one OpenSocial container to another and greatly reduces the barrier for entry for existing OpenSocial developers.

Yahoo Application Platform on YDN

What does the migration to a Gadget XML format mean for my application?

All existing YAP applications that were built using our old dashboard system will be automatically migrated to the new OpenSocial Gadget XML format. This means that they will continue to run as they do today, without any code changes on your part.

This upgrade will also let you:

  • modify your application via a gadget XML file hosted on your server
  • take full advantage of the OpenSocial APIs
  • increase your application's portability to other OpenSocial-compliant containers

Developers will be able to go into the developer dashboard to download the auto-generated XML spec file or import an existing spec file to overwrite their current application configuration settings.

What are some of the major improvements in OpenSocial 0.9?

OpenSocial 0.9 introduces a new lightweight API for accessing social data from a container such as YAP. This means that your code to accomplish the same tasks will shrink. Let's take a look at what this breaks down to (samples taken from the OpenSocial 0.9 release notes):

Requesting the viewer in OpenSocial v0.8

   var req = opensocial.newDataRequest();
req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER), "req");

Requesting the viewer in OpenSocial v0.9


As you can also see, the new API has a different namespace (osapi). This means that your OpenSocial 0.9 code will not muddle with your 0.8 code, and your requests will all be nicely sandboxed.

See the full list of changes in the OpenSocial 0.9 release notes.

YUI integration upgrades

In addition to the platform changes, we are also seeing a new YUI 2.8 component coming in this release. We have been working hard to cajole new components into our front-end securer, Caja. With this release, we will see functionality for the Data Table widget integrated into YAP. For more information on YUI support within YAP, see our YUI / YAP integration page.

Release Notes

For more information, see the full YAP 2.1 release notes.

Jon LeBlanc
Jonathan LeBlanc (@jcleblanc)
Technology Evangelist, Yahoo! Developer Network