Blug2012 yellow and blue stream
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Blug2012 yellow and blue stream

  • 772 views
Uploaded on

Make use of the Activity Stream, oAuth and XPages in your Social Business applications....

Make use of the Activity Stream, oAuth and XPages in your Social Business applications.

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
772
On Slideshare
772
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
13
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Yellow and Blue stream Make use of the Activity Stream, oAuth and XPages in your Social Business applications. Frank van der Linden
  • 2. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  • 3. Frank van der LindenI live in Utrecht in the Netherlands.My role is XPages/Domino/Webdeveloper at e-office since 2000. So Istarted with Lotus Notes 4.5.x.I develop XPages application since theintroduction of XPages in Lotus Notes8.5.0.In my spare time I do a lot of running andthen I mean a lot.
  • 4. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  • 5. Blue process | control | predictable manage | low costs | mechanical structure & process 9 to 5 | no errors | internal focusno change | control | process leading
  • 6. Yellowknowledge | information | everywhere network | creativity | goal oriented smart & flexible intrinsically | independent | trust collaborate | discipline | facilitate
  • 7. Yellow and BlueAdaptive organizationFlexible, able to change directionsAlso predictableWe have build a system to bring bothworlds together.
  • 8. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  • 9. What is oAuth?oAuth (Open Authorization) is an open standard forauthorizationIt allows users to share their resources stored on onesite with another site without having to hand out theircredentialsoAuth allows users to hand out tokens instead ofcredentials to their data hosted by a given serviceprovider.Source: http://en.wikipedia.org/wiki/OAuth
  • 10. oAuth, the 3 leg dance
  • 11. oAuth in the real world
  • 12. OpenSocialPublic specification that defines a componenthosting environment (container)Based on HTML and JavaScript, as well asthe Google gadgets frameworkOpenSocial adopted support for ActivityStreams formatOpenSocial API and oAuth supportSource:http://en.wikipedia.org/wiki/OpenSocial
  • 13. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  • 14. Activity StreamIt is part of the Social Business ToolkitIt is the stream of all informationAPI’s to connect to the streamIt will be part of IBM Connections Next andLotus Notes Social Edition.oAuth authentication.Support of OpenSocial gadget specification.
  • 15. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  • 16. Yellow and Blue systemGet information from IBM Connections IBM Lotus Domino Google Social Business Toolkit
  • 17. Yellow and Blue systemTooling used XPages oAuth Social enabler from OpenNTF Java and managed beans HTML5
  • 18. Flow diagram
  • 19. Demo
  • 20. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  • 21. Connect to the Activity StreamIf you don’t have an account for Greenhouse, go get it(https://greenhouse.lotus.com)
  • 22. Connect to the Activity StreamoAuth is used, so you need to register yourapp.(https://greenhouse.lotus.com/vulcan/security/provider/appList?serviceProvider=vulcanToolkit)
  • 23. Connect to the Activity StreamGet the Extension Library of OpenNTF, the 8.5.3 code streamInstall the Extension Library on Designer and Domino serverDeploy the Social Enabler database to your Domino serverDeploy the WebSecurityStore database to the root of yourDomino serverAnd sign both databases with the correct ID.
  • 24. Connect to the Activity StreamThe start point is KeysApplications.xsp in theWebSecurityStore database
  • 25. Connect to the Activity StreamCreate an Application TokenFill in the oAuth keys and the endpoints
  • 26. Connect to the Activity Stream In the Domino Designer go to the Package Explorer Go to the faces-config.xml
  • 27. Connect to the Activity StreamNSFStore managed bean is used for the location ofthe WebSecurityStore databaseIt will be used by other Managed beans to store oAuthdata.
  • 28. Connect to the Activity StreamgreenHouse managed bean is used to specify theoAuthEndpoint, and were to store.AppId is the id, who is used as Application name in theSBT application registration page
  • 29. Connect to the Activity StreamUse the ActivityStreamData object as datasource The service URL: vulcan/shindig/rest/activitystreams Endpoint: greenHouse, as stated in the Faces-config.xml Give the datasource a variable name, so you can connect to it in your ViewPanel Specify in your ViewPanel as value the variable name of the datasource And give the ViewPanel also a variable name
  • 30. Connect to the Activity StreamActivity Stream JSON - use full properties Title: entry.title Posted date: new java.util.Date(parseInt(entry.postedTime) ID: entry.id Image: entry.actor.image.url Body: entry.body JSON of the links to the source: entry.standardLinks.alternate[0].inline
  • 31. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  • 32. XPages and JavaOne managed bean controls everything
  • 33. XPages and JavaIt delegate the tasks to other Java classes
  • 34. XPages and JavaAn event handler triggered a generic Javamethod via the managed beanResults will be stored in a Java ObjectPartial refresh of a panel gets the information
  • 35. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  • 36. Q&A
  • 37. How to reach meTwitter:@flinden68Blog: http://www.domino-weblog.nlE-mail: fli@e-office.com