integrating opensocial & salesforce.com

Post on 13-Sep-2014

7.930 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

A presentation given at Dreamforce 08 where OpenSocial technologies where integrated with SalesForce.com

TRANSCRIPT

Integrating SalesForce.com withOpenSocial

Chris Schalk, Google Developer Advocate

11/05/2008

2

Agenda

• OpenSocial Concepts

• Exploring ways to connect OpenSocial with

SalesForce.com

3

Agenda

• OpenSocial Concepts

• Exploring ways to connect OpenSocial with

SalesForce.com

4

OpenSocial Concepts

What is OpenSocial?

“OpenSocial defines a common set of APIs based on Open Standardsfor building social applications across multiple websites”

Too many platforms!

Standards based

OpenSocial

Write once… Deploy everywhere

Massive exposure foryour apps!

10

Not just Social Network Sites

• Social network sites - Profiles and home pagesex: MySpace, Hi5

• Personal dashboards – Widgetsex: iGoogle, My Yahoo

• Sites based around a Social Objectex: Flickr, YouTube

• Enterprise, Professionalex: LinkedIn, Oracle, SalesForce.com

• Any web site

Some OpenSocial Partners

Today: 375 Million User Reach

Where is OpenSocial live today?

Applications live to Users:

• MySpace• orkut• Hi5• Freebar• Friendster• Webon from Lycos• IDtail• YiQi• Netlog• Hyves• LinkedIn - New

Initial Developer Sandboxes:

• iGoogle• imeem• CityIN• Tianya• Ning• Plaxo Pulse• Mail.ru

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

14

OpenSocial today

375,000,000 users

150,000,000 installs

4,500+ apps

Pipeline of 100+ containers worldwide

20,000+ developers

10,000,000 daily app users

15

OpenSocial Roadmap

• Version 0.5 was released in a “developer release” on Nov1st.

• First “sandbox” was made available on Orkut

• Version 0.6 was released in December• Initial version of Shindig server software was launched as Apacheincubator project• Other sandboxes came live - Hi5, Ning, Plaxo …

• Version 0.7 (production) was released in January• MySpace, Hi5, Orkut currently running with 0.7

16

OpenSocial Roadmap

• Version v0.8 is current

• Latest evolution of OpenSocial as defined by theOpenSocial development community

• Updated JavaScript API• Now contains a RESTful API

• hi5, MySpace, orkut, iGoogle now support 0.8

• Specification:http://www.opensocial.org/Technical-Resources/opensocial-spec-v08

17

OpenSocial v0.8.1 spec is here

• Specification is now published• Updates include:

• RESTful Protocol updates• JSON RPC Protocol

• Specification:http://sites.google.com/a/opensocial.org/opensocial/Technical-Resources/opensocial-spec-v081

18

OpenSocial 0.9 - Future Directions

• Goal:

– Enable a faster development experience that is both secure andefficient

• Solution: “Opensocial Templates”!

OS Templates core principles:

• Client-side and server-side processing

• Standard set of tags with extensibility model

– Example: <os:ShowPerson>

• http://groups.google.com/group/opensocial-and-gadgets-spec/web/opensocial-templates

– Demo: http://ostemplates-demo.appspot.com/

19

To follow the progress of the Spec…

http://groups.google.com/group/opensocial-and-gadgets-spec

20

Demonstration: Building OpenSocial Applications

21

Agenda

• OpenSocial Concepts

• Exploring ways to connect OpenSocial with

SalesForce.com

22

How to connect SFDC with OpenSocial?

?

23

How to connect SFDC with OpenSocial?

Option 1: Pull/push data into SFDC using OpenSocial’s RESTful protocol

orkut

hi5

LinkedIn

REST0110100101011

24

Option 1: Pull/push data into SFDC using OpenSocial’sRESTful protocol

• Goal: To access data only from OpenSocial sites

• Requirements:• Read/Write access to data from OpenSocial sites,…• Integrate into SFDC …

• Implementation• Use RESTful protocol supported by OpenSocial sites

• Use Apex code to directly access OpenSocial sites

25

How to connect SFDC with OpenSocial?

Option 2: Can pull OpenSocial apps into SalesForce.com

iGoogle

FriendConnect

26

Option 2: Pulling OpenSocial Apps into SFDC

• Goal: To provide OpenSocial apps from withinSalesForce.com

• Requirements:• Provide access to OpenSocial apps as they would appear

in iGoogle, or other OpenSocial containers, but fromwithin a SalesForce.com UI.

• App functionality should not be hindered by beingrendered within SalesForce.com environment.

• Implementation• Leverage existing ways to publish gadgets/OpenSocial

apps via generated JavaScript snippets.• For OpenSocial, FriendConnect can be used.

27

Demonstration: Pulling OpenSocial Apps into SFDC

28

How to connect SFDC with OpenSocial?

Option 3: Publish SalesForce.com OpenSocial apps to OpenSocial Sites

orkut

hi5

LinkedIn

REST

29

Option 3: Publish SalesForce.com OpenSocialsites to OpenSocial sites

• Goal: To provide access to SFDC from an OpenSocialapplication

• Requirements:• Read/Write access to SFDC Accounts,Contacts,Leads,…• Connect OpenSocial contacts with SFDC Contacts/Leads

• Implementation• Use Force.com site to serve as OpenSocial App provider

• Publish static OpenSocial XML app spec• Build a data gateway for OpenSocial app clients

• Use Apex pages, classes

30

Demonstration: Building an SFDC OpenSocial App

with Force.com Sites

31

Summary

It is relatively easy to bridge SFDC with OpenSocial!

• Can use REST protocol for simple communication layer

• For Gadget/App integration an iFrame solution works well

• For OpenSocial SFDC apps, RESTful protocol provides asolution

32

Useful Links

Homepage & specification:• http://www.opensocial.org

Get on the forums:• http://groups.google.com/group/opensocial

Subscribe to the Shindig mailing list:• shindig-dev-subscribe@incubator.apache.org

Help shape the specification:• http://groups.google.com/group/opensocial-and-gadgets-spec/

Templates:• http://groups.google.com/group/opensocial-and-gadgets-spec/web/opensocial-templates

Check out Shindig:• http://incubator.apache.org/shindig

33

Questions - Contact Info

Q&A

chrisschalk.com

top related