Hands On With OpenSocial and Embedded Experiences

10
#openapprevolution Hands On With OpenSocial And Embedded Experiences #openapprevolution

description

Presentation on OpenSocial and Embedded Experiences given by Ryan Baxter (IBM) and Stanton Sievers (IBM) at BoulderUX 2011

Transcript of Hands On With OpenSocial and Embedded Experiences

Page 1: Hands On With OpenSocial and Embedded Experiences

#openapprevolution

Hands On With OpenSocial And Embedded Experiences

#openapprevolution

Page 2: Hands On With OpenSocial and Embedded Experiences

#openapprevolution

About Us

#openapprevolution

• Stanton Sievers– Stanton has been a software developer at IBM since 2009. His most recent work includes

OpenSocial integration into the enterprise world using cool concepts like Embedded Experiences.

• Ryan Baxter– Ryan has worked for IBM for three years. His primary focus during this time has been working

on public APIs for Lotus Notes. Recently he has become involved with the OpenSocial foundation, and over the past year has been working on several enhancements to the OpenSocial specification while at the same time providing implementations of these enhancements throughout IBM's products. @ryanjbaxter http://ryanjasonbaxter.com

Page 3: Hands On With OpenSocial and Embedded Experiences

#openapprevolution

Agenda

#openapprevolution

• Gadget XML Overview• What is Embedded Experiences?• Lets Go Play In The Sandbox!• Building an Embedded Experience

Live!

Page 4: Hands On With OpenSocial and Embedded Experiences

#openapprevolution

Gadget XML Overview

Page 5: Hands On With OpenSocial and Embedded Experiences

#openapprevolution

Embedded Experiences

• Allow application developers to embed content from their applications inside OpenSocial 2.0 containers

• Data Model - JSON and XML

"embed" : { "gadget" : "http://www.example.com/embedded/gadget.xml", "context" : { "title" : "Hello World", "id" : 123 }}

Page 6: Hands On With OpenSocial and Embedded Experiences

#openapprevolution

Payload in MIME EmailFrom: [email protected]: [email protected]: Social Network: Mary Has Commented On Your StatusMIME-Version: 1.0Content-Type: multipart/alternative; boundary="XXXXboundary text"

Mary has commented on your status.

--XXXXboundary text Content-Type: text/plain

Mary has commeneted on your status.

--XXXXboundary textContent-Type: application/embed+json{ "gadget" : "http://www.socialnetwork.com/embedded/commentgadget.xml", "context" : 123}--XXXXboundary textContent-Type: text/html

<html><!-- HTML representation here --></html>

Page 7: Hands On With OpenSocial and Embedded Experiences

#openapprevolution

Lets Go Play In The Sandbox!● The sandbox is a sample collaboration

environment to test out your OpenSocial 2.0 gadgets.● Built on top of a daily build of Shindig 3.0● All the content is static and stateless

● Lets take a look → http://bit.ly/OSSandbox

Page 8: Hands On With OpenSocial and Embedded Experiences

#openapprevolution

Follow Along

1) Download Gist: http://bit.ly/BoulderUXSamples2) Open EEStartHere.xml in a text editor or

Google Gadget Editor (http://bit.ly/GGEditor)3) Code!!!4) Optionally upload the final gadget XML to

Google Gadget Editor (http://bit.ly/GGEditor)5) Add it to the sandbox

Page 9: Hands On With OpenSocial and Embedded Experiences

#openapprevolution

Questions

Ask Us Anything!

(And come see us at the OpenSocial table during Happy Hour!)

Page 10: Hands On With OpenSocial and Embedded Experiences

#openapprevolution

Resources● OpenSocial Spec: http://bit.ly/OpenSocialSpec● Embedded Experiences Spec: http://bit.ly/EESpec● OpenSocial Sandbox: http://bit.ly/OSSandbox● Sample Gadgets: http://bit.ly/BoulderUXSamples● Embedded Experience Tutorial:

http://bit.ly/EETutorial