ddb digital days: open source, google apis, opensocial

60
Open Source Google APIs OpenSocial Patrick Chanezon Developer advocate Google [email protected] Paris, 9/17/2008

Upload: patrick-chanezon

Post on 18-Nov-2014

4.888 views

Category:

Technology


1 download

DESCRIPTION

Presentation about Open Source, Google APIs and OpenSocial at DDB DigitalDays event in Paris september 17 2008.

TRANSCRIPT

Page 1: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Open SourceGoogle APIs OpenSocial

Patrick ChanezonDeveloper advocate [email protected]

Paris, 9/17/2008

Page 2: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Richard Stallman - Free software

1984 Gnu ManifestoGNU General Public License (GPL)Libre <> GratuitFree as in Freedom of speech <> Free as in free beer

Page 3: Ddb Digital Days: Open Source, Google Apis, OpenSocial

BSD

1990UnixBerkeley

Page 4: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Linus Torvald

1991"I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones."

Page 5: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Open Source Initiative (OSI)

1998"...dump the moralizing and confrontational attitude that had been associated with 'free software' in the past and sell the idea strictly on the same pragmatic, business-case grounds that had motivated Netscape..." Eric Raymond "The cathedral and the bazaar"Netscape/Mozilla Jon "maddog" Hall, Larry Augustin, Eric S. Raymond, Bruce Perens

Page 6: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Open Source grows

ApacheMozilla FirefoxRed Hat, Novell, Sun, IBMGoogle

Page 7: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Open Standards

IETFOASIS, W3COpenIDoAuthOpenSocialO My!

OpenID FoundationOpenSocial FoundationOpenWeb Foundation

Page 8: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Standards create markets: Hal Varian

OpenSocial is a straightforward application of chapters 8 and 9 of his 1998 book "Information Rules"

“Standards change competition for a market to competition within a market”

Network Effects

Lock-In and Switching Costs

Standards

Page 9: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Google APIs Godfather: Chris DiBona

http://code.google.com/opensource/

Google Open Source Program officeSummer of Code

Project Hosting

Over 1M lines of Google code open sourced in more than 100 projects

Page 10: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Platforms, Standards and Open Source

Making the web better, by solving big issues for developers:

Ajax Applications

Offline web applications

Social Applications: OpenSocial

Mobile applications

Scaling web applications: Google App Engine

Page 11: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Agenda

OpenSocial introductionHow to build OpenSocial applicationsHosting social applicationsSocial applications monetization OpenSocial container demosBecoming an OpenSocial containerKinds of ContainersGoogle Friend ConnectSummary

Page 12: Ddb Digital Days: Open Source, Google Apis, OpenSocial

OpenSocial IntroductionPatrick Chanezon

Page 13: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Making the web betterby making it social

What does social mean?

Page 14: Ddb Digital Days: Open Source, Google Apis, OpenSocial

What does Social mean?

Eliette what do you do with your friends?

Page 15: Ddb Digital Days: Open Source, Google Apis, OpenSocial

This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License

Page 16: Ddb Digital Days: Open Source, Google Apis, OpenSocial

This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License

Page 17: Ddb Digital Days: Open Source, Google Apis, OpenSocial

This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License

Page 18: Ddb Digital Days: Open Source, Google Apis, OpenSocial

This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License

Page 19: Ddb Digital Days: Open Source, Google Apis, OpenSocial

This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License

Page 20: Ddb Digital Days: Open Source, Google Apis, OpenSocial

This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License

Page 21: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Raoul: a social object for Charlotte (3 year old)

Page 22: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 23: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Jaiku’s Jyri Engeström's 5 rules for social networks: social objects

1. What is your object?

2. What are your verbs?

3. How can people share the objects?

4. What is the gift in the invitation?

5. Are you charging the publishers or the spectators?

http://tinyurl.com/yus8gw

Page 24: Ddb Digital Days: Open Source, Google Apis, OpenSocial

How do we socialize objects online

without having to create yet another social network?

Page 25: Ddb Digital Days: Open Source, Google Apis, OpenSocial

OpenSocial

A common API for social applications across multiple web sites

Page 26: Ddb Digital Days: Open Source, Google Apis, OpenSocial

The Trouble with Developing Social Apps

Which site do I build my app for?

Page 27: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Let’s work on that…

Using OpenSocial, I can build apps for all of these sites!

Page 28: Ddb Digital Days: Open Source, Google Apis, OpenSocial

What’s offered by OpenSocial?

ActivitiesWhat are people up to on the web

People/Profile InfoWho do I know, etc.

Persistent datastoreHandles key/value pairs

Page 29: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Today: 375 Million User Reach

Page 30: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Where is OpenSocial live today?

Live to Users:MySpaceorkutHi5FreebarFriendsterWebon from LycosIDtailYiQiNetlog - New!Hyves - New!

Live Developer Sandboxes:iGoogleimeemCityINTianyaNingPlaxo PulseMail.ru

Individual Developer Links: http://code.google.com/apis/opensocial/gettingstared.html

Page 31: Ddb Digital Days: Open Source, Google Apis, OpenSocial

OpenSocial “Containers”

Page 32: Ddb Digital Days: Open Source, Google Apis, OpenSocial

What’s in OpenSocial?

JavaScript API - Now

REST Protocol - New

Templates - Prototype in Shindig

Page 33: Ddb Digital Days: Open Source, Google Apis, OpenSocial

OpenSocial’s JavaScript API

OpenSocial JS APIGadget JS APIGadget XML schema

OpenSocial v0.7 is liveOpenSocial v0.8 is being deployed now

Specs and release notes: http://opensocial.org

Page 34: Ddb Digital Days: Open Source, Google Apis, OpenSocial

OpenSocial’s REST Protocol

Access social data without JavaScriptWorks on 3rd party websites / phones / etcUses OAuth to allow secure accessOpen source client libraries in development

Java, PHP, Python, <your fav language here>

Being deployed with OpenSocial v0.8

Spec’s available at http://opensocial.org

Page 35: Ddb Digital Days: Open Source, Google Apis, OpenSocial

OpenSocial Templates

Writing JavaScript is hardWriting templates is easyTemplates also give

Consistent UI across containersEasy way to localizeMore interesting content options when inlining into container (activities, profile views)Ability to serve millions of dynamic pages per day without a server

Page 36: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Try out templates today!

Samples and docs:http://ostemplates-demo.appspot.comSample app:http://ostemplates-demo.appspot.com/friends.htmlDiscussion group:http://tech.groups.yahoo.com/group/os-templates/Code is all in Shindig, can download, use, and even submit patches to improveSo…

Get involved and provide comments, andBuild some apps

Page 37: Ddb Digital Days: Open Source, Google Apis, OpenSocial

OpenSocial is what you make it.

OpenSocial is an open source project.The spec is controlled by the community.Anyone can contribute and have a voice.http://groups.google.com/group/opensocial/

“OpenSocial and Gadgets spec” subgroup

OpenSocial FoundationGet involved to nominate and elect board repshttp://www.opensocial.org/opensocial-foundation/

Page 38: Ddb Digital Days: Open Source, Google Apis, OpenSocial

A note on compliance

OpenSocial is designed for many sites

Building an app:TechnologyPolicy

OpenSocial Compliance Tests http://code.google.com/p/opensocial-resources/wiki/ComplianceTests

Page 39: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Other comments

Portable Contacts Alignment

Caja for JavaScript security

Page 40: Ddb Digital Days: Open Source, Google Apis, OpenSocial

A standard for everyone

This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License

Page 41: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Social Apps monetization Patrick Chanezon

Page 42: Ddb Digital Days: Open Source, Google Apis, OpenSocial

OpenSocial MonetizationAds from Ad Networks

AdSense, RightMediaBuddyPoke, Rate My Friend

Brand/Private Label App Sony Ericsson MTV Roadies app on orkut

Sell virtual or real goodsFree -> FreemiumReferralsVirtual currency

Page 43: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Success Story: Buddy Poke

#1 OpenSocial app on orkut8M installs for orkut, hi5, MySpace$1-2 CPM#1 App for App Engine w/ millions daily PV

Page 44: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Success Story: PhotoBuzz

6M+ installs on hi5 and orkutCPM $1-3, especially good on orkut4M buzzes per daySmall team of 4 people, profitable

Page 45: Ddb Digital Days: Open Source, Google Apis, OpenSocial

What is Friend Connect?Allows any site to become an OpenSocial container by simply

copying a few snippets of code into your site

http://www.google.com/friendconnect/

Page 46: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 47: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 48: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 49: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 50: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 51: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 52: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 53: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 54: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 55: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 56: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Friend Connect gives ...

Users... more ways to do more things with my friends

Site owners... more (and more engaged) traffic for my site

App developers... more reach for my apps

and ... make it easy

Page 57: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Learn more

code.google.com

Page 58: Ddb Digital Days: Open Source, Google Apis, OpenSocial
Page 59: Ddb Digital Days: Open Source, Google Apis, OpenSocial

Q & A

Page 60: Ddb Digital Days: Open Source, Google Apis, OpenSocial