By Lavanya Lakshman Balachandar Sankar 7/24/2010 YAP – Yahoo Application Platform
Agenda Introduction Gadget XML Supporting Views YML Caja/YUI OpenSocial Walkthrough of Sample Gadget XML App Creation Steps Joyent Web Hosting DEMO Questions
Yahoo!’s Footprint 700M people use Y! Worldwide 200M people visit every day, 365 days a year Yahoo!’s social graph is growing rapidly
Introduction: YAP [Yahoo Application Platform] YAP, is a platform that allows developers to build web applications that would be accessible across different yahoo networks Apps are easier to create Open application could leverage Yahoo!’s enormous social graph. Open applications has various access points – Yahoo! Frontpage – MyYahoo! – Yahoo! Toolbar – Yahoo! Pulse – Yahoo! Games (Coming soon…) – Yahoo! Messenger Plugin (Coming soon…)
MyYahoo!
Yahoo Frontpage
Yahoo! Pulse
Yahoo! Toolbar
Yahoo! Games (Mock up)
Yahoo! Messenger Plugin (Mock up)
Getting Started App is defined by a Gadget XML Gadget XML conforms to OpenSocial gadgets API specification.
Getting Started.. contd
Yahoo Small View No Javascript. Faster HTML or YML Lite (Subset of YML). Two States – Default – Personalized
Yahoo Small View
Yahoo Full View Supports HTML, CSS, YML, YUI and Caja friendly JS Richer Interface Opensocial v0.8/0.9 compatible
Yahoo Full View
Preview View Content is shown to users who are – Not signed in – Haven’t installed / authorized to view application Try to have some interesting preview content, so that users are motivated to install the app. yml:customize tag is used for installing an app
YML – Yahoo Markup Language Similar in format to XML, Yahoo! Markup Language (YML) provides functionality to Open Applications in a safe and standardized fashion Adds functionality to Open Application. yml:a yml:ad yml:audio yml:customize yml:form yml:friend-selector yml:if-env yml:include yml:message yml:name yml:profile-pic yml:pronoun yml:share yml:swf yml:user-badge
YML – Yahoo Markup Language Hello Open Hack Day
YAP with Caja/YUI Caja is a system that transforms ordinary HTML and JavaScript into a secured form of HTML/JS Caja is an Opensource project sponsored by Google. Caja prevents insecure JS YUI is a library of JavaScript utilities and controls for building richly interactive web applications using techniques such as DOM Scripting. Supports subset of YUI libraries and utilities
Opensocial and its compatibility OpenSocial is a collection of common application programming interfaces (APIs) for web-based social network applications Supports OpenSocial 0.9 JavaScript APIs and OpenSocial RESTful API OSML and Opensocial templates are in beta phase.
Sample Gadget XML To test YAP functionality /2009_One_Industries_HH_Lifestyle_Graphic_Kit.jpg steph, 喜, 中國 ……….
Sample Gadget XML.. contd …….. ]]> <!-- ]]> This is a sample Small View
Open App Creation [YDN Dashboard]
YDN Devtool Page Import Gadget Live App. Share with friends. Live App. Share with friends. Reviewed before publishing
App Analytics
Hosting solution JOYENT developer-program/
DEMO Gadget xml template Xml_Template.xml
Thank You