Presentation is loading. Please wait.

Presentation is loading. Please wait.

OpenSocial 2.0 Sandbox Embedded Experiences, and how your gadget can go beyond the box 12-May-2011#openapprevolution1.

Similar presentations


Presentation on theme: "OpenSocial 2.0 Sandbox Embedded Experiences, and how your gadget can go beyond the box 12-May-2011#openapprevolution1."— Presentation transcript:

1 OpenSocial 2.0 Sandbox Embedded Experiences, and how your gadget can go beyond the box 12-May-2011#openapprevolution1

2 Team 12-May-2011#openapprevolution2 Andrew Davis – Andrew has worked at IBM for eight years in IBM Collaboration Software on Lotus Notes and Expeditor Teams. He is responsible for bringing the web technologies including OpenSocial to desktop and web apps. He first integrated Gadgets into Lotus Notes in 2008, with like Notes Widgets, LiveText, Catalog and Feeds. General trouble maker in introducing new web technologies at IBM ICS. 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 Special thanks to community members John Helmstead, Michael Hermanto, Ziv Horesh, Mark Weitzel and Chris Cole

3 Agenda 12-May-2011#openapprevolution3 Enabling OpenApp Revolution for Gadget Developers on 2.0 - Sandbox Draft OpenSocial 2.0 Features – How gadgets can make collaboration richer with Embedded Experiences – How gadgets can jump out of the box – How gadgets contribute to the container page OpenSearch Declarative Actions and Selection

4 Sandbox OpenSocial2 Deployed daily build of shindig 3.0, containing latest proposals and patches so you can try out the OpenSocial2.0 spec Hosted on Amazon EC2 mini-instance Sample collaboration page using common container – Activity Stream – Inbox – Gadget Sidebar Gadget Developrs can – Ability to add gadgets, try new APIs – Test embedded experiences gadget in activity stream Plan is to clean up, fully automate daily deployment and contribute to the community if OpenSocial/Shindig interested

5 Embedded Experiences Delegate rendering of content to trusted gadgets in activity streams, email, etc Spec: – http://opensocial-resources.googlecode.com/svn/spec/2.0/Core-Gadget.xml#Embedded- Experiences Data Model - JSON and XML "embed" : { "url" : "http://www.example.com/embedded/123", "gadget" : "http://www.example.com/embedded/gadget.xml", "context" : { "title" : "Hello World", "id" : 123 } "previewImage" : "http://www.exmaple.com/embedded/123.png" }

6 Payload in MIME Email From: notifications@socialnetwork.com To: johndoe@example.com Subject: Social Network: Mary Has Commented On Your Status MIME-Version: 1.0 Content-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 text Content-Type: application/embed+json { "gadget" : "http://www.socialnetwork.com/embedded/commentgadget.xml", "context" : 123 } --XXXXboundary text Content-Type: text/html

7 Example EE Gadget

8 Jumping out of the Box Modal Dialogs/ Lightboxes, Non-Modal Dialogs, Tabs implemented using Views and Urls in gadgets.views Spec: – http://opensocial-resources.googlecode.com/svn/spec/2.0/Core- Gadget.xml#gadgets.views – openGadget() – openUrl() – close() – setReturnValue()

9 How a gadget can open a lightbox …. ….

10 How gadgets contribute to container In Shindig 3.0 – Common Container gadget Pre-loading mechanism allows container to process the gadget meta-data before the gadget even renders – Optional Shindig features, like opensearch can leverage to receive information from gadgets – Individual Gadgets can require these features and pass in configuration and meta data to the container’s features.

11 OpenSearch Gadgets can extend the container pages search capabilities Spec: – http://opensocial-resources.googlecode.com/svn/spec/2.0/Core- Gadget.xml#OpenSearch

12 OpenSearch Example Gadget

13 Declarative Actions, Selection Gadget can bind actions to OpenSocial Data types and by Paths in the container, without even being visible on the page, and then lazily load when action is invoked. Selection provides a singleton selection when executing the action, even if gadgets aren’t rendered to receive even Spec: – http://opensocial-resources.googlecode.com/svn/spec/2.0/Core- Gadget.xml#gadgets.selection – http://opensocial-resources.googlecode.com/svn/spec/2.0/Core- Gadget.xml#gadgets.actions

14 Declarative Actions Example ]]>

15 Thanks to OpenSocial and Shindig Community Come see us at the Poster Session! Check out demos and test your gadgets with OpenSocial 2.0! Sandbox.opensocial2.org:8080


Download ppt "OpenSocial 2.0 Sandbox Embedded Experiences, and how your gadget can go beyond the box 12-May-2011#openapprevolution1."

Similar presentations


Ads by Google