More Related Content Similar to Jive World 12 ~ Apps 201 (20) Jive World 12 ~ Apps 2011. Jive Apps Development 201
API Spleunking
Mark Weitzel
Director, Platform & Ecosystem, Jive Software
President, OpenSocial Foundation
© Jive confidential
3. Objectives
• Turn it to 11!
Learn the advanced capabilities of the apps framework
• Understand how to surface workflow using What Matters
• Demonstrate the power of the V3 API
© Jive confidential
4. Agenda
• The theory of relativity
Using social context to dynamically render an app’s view
• A night at the Roxbury
Giving BPM a social life by using What Matters to surface
work flow
• Walker, Texas Ranger
The top 5 kickass things you can do with the V3 API!
© Jive confidential
5. The theory of relativity: Using
social context to dynamically
render an app’s view
“Two things are infinite: the universe and human
stupidity; and I'm not sure about the universe.”
Albert Einstein
© Jive confidential
6. Use social context to dynamically render an app’s view
Two Key Patterns
• Pass social information to be used in
business logic (Proxied Content)
• Add social context to the app as it’s
rendered (Data Pipelining)
Give me the HTML to render and
Jive Edge
here's the social context you asked for. App "Home Server"
(Proxied Content) Where the business logic lives!
Jive Content What Matters
App Framework
Jive Core V3 Other Features Custom
Business Logic
Here's the HTML
© Jive confidential
7. Use social context to dynamically render an app’s view
• Proxied Content
<Content href="http://myhomeserver.com/canvas"
xmlns:os="http://ns.opensocial.org/2008/markup">
<os:PeopleRequest
userId="@viewer"
groupId="@friends" fields="name “
key="ViewerFriends"/>
<os:HttpRequest href="http://www.someserver.com/someinfo" key="someInfo" />
</Content>
© Jive confidential
8. Use social context to dynamically render an app’s view
Two Key Patterns
2. Pass social information and
remotely fetched data to app
(Data Pipelining)
Give me the HTML to render and
Jive Edge
here's the social context you asked for. App "Home Server"
(Proxied Content) Where the business logic lives!
Jive Content What Matters
App Framework
Jive Core V3 Other Features Custom
Business Logic
Here's the HTML
And please load
this social data, and data from
these web sites.
(Data Pipelining)
http://anotherserver/dataset http://someserver/dataset
© Jive confidential
9. Use social context to dynamically render an app’s view
• Data Pipelining
<script type="text/os-data">
<os:ViewerRequest key="vwr" fields="name "/>
<os:DataRequest key="mydata" href="http://developer.com/api"/>
</script>
© Jive confidential
10. Section Summary
We learned:
• Two important social business patterns
Data pipelining and proxied content
• How to dynamically generate an app view based on social
context
© Jive confidential
11. Giving BPM a social life by using
What Matters to surface work
flow
“Are you seeing planes? Is your name Tattoo?”
Doug Butabi
© Jive confidential
12. What Matters: Activities
• JS API posts to the general activity stream
• Include !App Mentions (Embedded Experiences)
• Link back to application
© Jive confidential
13. What Matters: Notifications
• Posts to the “Actions” menu of What Matters
• Directed to a specific person
• Link back to applications
© Jive confidential
14. What Matters: Actions
• Directed to a specific person
• Up to three “Action Links” – Buttons
Can send remote request to server!
© Jive confidential
15. Posting from your “home server”
• Leverage the API Gateway
• Request from Home Server is signed
• Queued in
API Gateway Developer
App Market
Services
Services
• Jive polls for Jive Cloud
API Gateway
(Activities)
activities
Jive Edge
App "Home Server"
Where the business logic lives!
Jive Content What Matters
App Framework
Jive Core V3 Other Features Custom
Business Logic
© Jive confidential
16. Section Summary
We learned:
• How to leverage What Matters activities, actions, and
notifications
• How to make asynchronous calls to post to the activity
stream
• How to use What Matters to surface workflow between
applications
© Jive confidential
17. The top 5 kickass things you
can do with the V3 API!
“If he gives you any trouble, you know what to do?”
Ranger Cordell Walker
© Jive confidential
18. Publishing your app!
• Use Metadata to introspect on Jive
• Work with custom streams
• Work with ideas!
• Create all content types!
• Create places!!
© Jive confidential
Editor's Notes Talk through the origins of Jive Apps -- From OpenSocial Talk through the origins of Jive Apps -- From OpenSocial Talk through the origins of Jive Apps -- From OpenSocial Talk through the origins of Jive Apps -- From OpenSocial