Yahoo Open Platform Stack
-
Upload
jonathan-leblanc -
Category
Technology
-
view
1.399 -
download
2
Transcript of Yahoo Open Platform Stack
![Page 1: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/1.jpg)
Jonathan LeBlancTechnology Evangelist
Yahoo! Developer NetworkTwitter: @jcleblanc
Yahoo!, Facebook and Social Aggregation
![Page 2: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/2.jpg)
What We’re Talking About
• How do we authorize users and applications on our social platform?
• What’s our main data discovery system?
• How do we secure our platform?
• How do you promote through notifications?
![Page 3: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/3.jpg)
What We’re Talking About
• How do we authorize users and applications on our social platform?
• What’s our main data discovery system?
• How do we secure our platform?
• How do you promote through notifications?
![Page 4: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/4.jpg)
Open ID – Single Account Sign-in Authentication
![Page 5: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/5.jpg)
OAuth - Open Authorization
![Page 6: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/6.jpg)
OAuth – What Does the End-User See?
![Page 7: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/7.jpg)
OAuth – What Does the End-User See?
![Page 8: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/8.jpg)
Hybrid Authentication – OpenID + OAuth
![Page 9: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/9.jpg)
What We’re Talking About
• How do we authorize users and applications on our social platform?
• What’s our main data discovery system?
• How do we secure our platform?
• How do you promote through notifications?
![Page 10: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/10.jpg)
Querying Languages – Yahoo! Query Language (YQL)
![Page 11: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/11.jpg)
The Yahoo! Query Language Test Consolehttp://developer.yahoo.com/yql/console
![Page 12: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/12.jpg)
Querying Languages
![Page 13: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/13.jpg)
What We’re Talking About
• How do we authorize users and applications on our social platform?
• What’s our main data discovery system?
• How do we secure our platform?
• How do you promote through notifications?
![Page 14: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/14.jpg)
Front-end Security
![Page 15: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/15.jpg)
Front-end Security: IFrames
IFrames - Pros• Quick to set up• Full content control for developers
IFrames - Cons• Drive-by downloads, etc.• No content restrictions
![Page 16: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/16.jpg)
Front-end Security: Caja
Caja - Pros• Very secure model (whitelist)• Aims to protect end-users• Platform has full content control
Caja - Cons• Slow to set up• Difficult to configure• User does not have full
content control
![Page 17: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/17.jpg)
What We’re Talking About
• How do we authorize users and applications on our social platform?
• What’s our main data discovery system?
• How do we secure our platform?
• How do you promote through notifications?
![Page 18: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/18.jpg)
![Page 19: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/19.jpg)
The Update Stream
![Page 20: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/20.jpg)
Updates Reach through Relationships
![Page 21: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/21.jpg)
OpenSocial – Simple Standardized API Abstraction
Main Uses:User Profile Data
Relationship Data
Activity Streams
Messaging
AJAX & Tool Abstraction
Data Pipelining
Templating
• Social Endpoint Abstraction
• Open Source Project
• Standardizing Social
• Large number of containers
• Portable
Containers include: YAP,
MySpace, iGoogle, Hi5, Orkut,
LinkedIn, Friendster, etc.
![Page 22: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/22.jpg)
OpenSocial – JavaScript Based API Abstraction
Capture user activitiesosapi.activities.get()
Create new activitiesosapi.activities.create()
![Page 23: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/23.jpg)
The Yahoo! Updates Firehose
Filters:Text Query
Specific Website
Specific Source
Geographic Location
User
Language
Date
• Real time search of all updates
• Ratings, reviews, Flickr, etc.
• YQL driven API
• Search links (e.g. facebook.com)
• Search sources (e.g. Mafia Wars)
SELECT * FROM
social.updates.search WHERE
link="www.facebook.com”
![Page 24: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/24.jpg)
Conclusion
• YAP is built on the open stack
• We use YQL to aggregate external data
• Firehose allows easy consumption of Updates
![Page 25: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/25.jpg)
$10,000 X AwardBest Yahoo! / Paypal Integration
http://developer.yahoo.com
![Page 26: Yahoo Open Platform Stack](https://reader038.fdocuments.in/reader038/viewer/2022102815/555690a3d8b42acc5e8b49a2/html5/thumbnails/26.jpg)
Questions?
http://www.slideshare.net/jcleblanc/yahoo-open-platform-stack
http://www.slideshare.net/weberik/yahoo-facebookintegration-4808640