Your SlideShare is downloading. ×
0
Yellow and Blue stream Make use of the Activity Stream, oAuth and XPages in your Social Business applications.            ...
AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUn...
Frank van der LindenI live in Utrecht in the Netherlands.My role is XPages/Domino/Webdeveloper at e-office since 2000. So ...
AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUn...
Blue   process | control | predictable  manage | low costs | mechanical    structure & process   9 to 5 | no errors | inte...
Yellowknowledge | information | everywhere network | creativity | goal oriented       smart & flexible  intrinsically | in...
Yellow and BlueAdaptive organizationFlexible, able to change directionsAlso predictableWe have build a system to bring bot...
AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUn...
What is oAuth?oAuth (Open Authorization) is an open standard forauthorizationIt allows users to share their resources stor...
oAuth, the 3 leg dance
oAuth in the real world
OpenSocialPublic specification that defines a componenthosting environment (container)Based on HTML and JavaScript, as wel...
AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUn...
Activity StreamIt is part of the Social Business ToolkitIt is the stream of all informationAPI’s to connect to the streamI...
AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUn...
Yellow and Blue systemGet information from IBM Connections IBM Lotus Domino Google Social Business Toolkit
Yellow and Blue systemTooling used XPages oAuth Social enabler from OpenNTF Java and managed beans HTML5
Flow diagram
Demo
AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUn...
Connect to the Activity StreamIf you don’t have an account for Greenhouse, go get it(https://greenhouse.lotus.com)
Connect to the Activity StreamoAuth is used, so you need to register yourapp.(https://greenhouse.lotus.com/vulcan/security...
Connect to the Activity StreamGet the Extension Library of OpenNTF, the 8.5.3 code streamInstall the Extension Library on ...
Connect to the Activity StreamThe start point is KeysApplications.xsp in theWebSecurityStore database
Connect to the Activity StreamCreate an Application TokenFill in the oAuth keys and the endpoints
Connect to the Activity Stream           In the Domino Designer go to           the Package Explorer           Go to the f...
Connect to the Activity StreamNSFStore managed bean is used for the location ofthe WebSecurityStore databaseIt will be use...
Connect to the Activity StreamgreenHouse managed bean is used to specify theoAuthEndpoint, and were to store.AppId is the ...
Connect to the Activity StreamUse the ActivityStreamData object as datasource  The service URL: vulcan/shindig/rest/activi...
Connect to the Activity StreamActivity Stream JSON - use full properties Title: entry.title Posted date: new java.util.Dat...
AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUn...
XPages and JavaOne managed bean controls everything
XPages and JavaIt delegate the tasks to other Java classes
XPages and JavaAn event handler triggered a generic Javamethod via the managed beanResults will be stored in a Java Object...
AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUn...
Q&A
How to reach meTwitter:@flinden68Blog: http://www.domino-weblog.nlE-mail: fli@e-office.com
Upcoming SlideShare
Loading in...5
×

Blug2012 yellow and blue stream

557

Published on

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

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
557
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
14
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Blug2012 yellow and blue stream"

  1. 1. Yellow and Blue stream Make use of the Activity Stream, oAuth and XPages in your Social Business applications. Frank van der Linden
  2. 2. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  3. 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. 4. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  5. 5. Blue process | control | predictable manage | low costs | mechanical structure & process 9 to 5 | no errors | internal focusno change | control | process leading
  6. 6. Yellowknowledge | information | everywhere network | creativity | goal oriented smart & flexible intrinsically | independent | trust collaborate | discipline | facilitate
  7. 7. Yellow and BlueAdaptive organizationFlexible, able to change directionsAlso predictableWe have build a system to bring bothworlds together.
  8. 8. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  9. 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. 10. oAuth, the 3 leg dance
  11. 11. oAuth in the real world
  12. 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. 13. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  14. 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. 15. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  16. 16. Yellow and Blue systemGet information from IBM Connections IBM Lotus Domino Google Social Business Toolkit
  17. 17. Yellow and Blue systemTooling used XPages oAuth Social enabler from OpenNTF Java and managed beans HTML5
  18. 18. Flow diagram
  19. 19. Demo
  20. 20. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  21. 21. Connect to the Activity StreamIf you don’t have an account for Greenhouse, go get it(https://greenhouse.lotus.com)
  22. 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. 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. 24. Connect to the Activity StreamThe start point is KeysApplications.xsp in theWebSecurityStore database
  25. 25. Connect to the Activity StreamCreate an Application TokenFill in the oAuth keys and the endpoints
  26. 26. Connect to the Activity Stream In the Domino Designer go to the Package Explorer Go to the faces-config.xml
  27. 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. 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. 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. 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. 31. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  32. 32. XPages and JavaOne managed bean controls everything
  33. 33. XPages and JavaIt delegate the tasks to other Java classes
  34. 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. 35. AgendaIntroductionYellow and BlueoAuth and OpenSocialActivity StreamYellow and Blue SystemConnect to the Activity StreamUnder the hoodQ&A
  36. 36. Q&A
  37. 37. How to reach meTwitter:@flinden68Blog: http://www.domino-weblog.nlE-mail: fli@e-office.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×