OpenSocial CyWorld Dev.Square presentation Sep 09


Published on

This is a presentation by Google Developer Advocate Chris Schalk given to a Software Developer workshop hosted by CyWorld, a new OpenSocial container. This was presented to about 200 software developers in Seoul, Korea, Sept. 2009.

Published in: Technology, News & Politics
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Show building an running apps in orkut, Ning, hi5..
  • OpenSocial CyWorld Dev.Square presentation Sep 09

    1. 1. A Developer’s Overview Chris Schalk, Google Developer Advocate Sept 4, 2009
    2. 2. Agenda <ul><li>Introduction </li></ul><ul><li>OpenSocial History, Background, Roadmap </li></ul><ul><li>OpenSocial Developer Basics </li></ul><ul><li>OpenSocial Development Tools </li></ul><ul><li>Advanced Developer Topics </li></ul><ul><li> </li></ul>
    3. 3. A Brief Introduction to OpenSocial
    4. 4. What is OpenSocial? “ OpenSocial defines a common set of APIs based on Open Standards for building social applications across multiple websites”
    5. 5. Why OpenSocial? Before OpenSocial…
    6. 6. What is OpenSocial? Standards Based
    7. 7. What is OpenSocial?
    8. 8. Who owns OpenSocial? ?
    9. 9. Who owns OpenSocial? ? OpenSocial is managed under the auspices of the “OpenSocial Foundation” - No!
    10. 10. Who's Using it? and many more...
    11. 11. Who's Using it?
    12. 12. OpenSocial Roadmap <ul><li>Version 0.5 was released in a “developer release” on Nov 1st 2007. </li></ul><ul><ul><li>First “sandbox” was made available on Orkut </li></ul></ul><ul><li>Version 0.6 was released in December 2007 </li></ul><ul><ul><li>Initial version of Shindig server software was launched as Apache incubator project </li></ul></ul><ul><ul><li>Other sandboxes came live - Hi5, Ning, Plaxo … </li></ul></ul><ul><li>Version 0.7 (production) was released in January 2008 </li></ul><ul><ul><li>MySpace, Hi5, Orkut began running 0.7 </li></ul></ul>
    13. 13. OpenSocial Roadmap <ul><li>Version 0.8/0.8.1 </li></ul><ul><ul><li>Released in late 2008 </li></ul></ul><ul><li>Contains a RESTful & RPC protocol </li></ul><ul><li>OpenSocial Client Libraries launched in Dec 08 </li></ul>
    14. 14. OpenSocial 0.9 (Current) <ul><li>Key Goal: </li></ul><ul><ul><li>Enable a faster development experience that is both secure and efficient </li></ul></ul><ul><li>Core principles: </li></ul><ul><li>Client-side and server-side processing </li></ul><ul><li>Standard set of tags with extensibility model </li></ul><ul><ul><li>Example: <os:ShowPerson> </li></ul></ul>
    15. 15. Developing OpenSocial Applications
    16. 16. Demonstration <ul><li>Building simple OpenSocial Client Applications </li></ul>
    17. 17. OpenSocial Developer Tools
    18. 18. OpenSocial Developer Tools <ul><li>OSDA - ‘OpenSocial DevApp’ </li></ul><ul><ul><li>An OpenSocial app that provides the ability to build and execute OpenSocial apps within an OpenSocial container. </li></ul></ul><ul><li>Gadget Editor </li></ul><ul><ul><li>A new, ultra simple online gadget editor </li></ul></ul><ul><li>OSDE - ‘OpenSocial Development Environment’ </li></ul><ul><ul><li>An Eclipse plugin that allows for OpenSocial application development completely offline </li></ul></ul>
    19. 19. Demo - OSDA ‘OpenSocial DevApp’
    20. 20. Demo - Gadget Editor
    21. 21. Demo - OSDE
    22. 22. Advanced Developer Topics
    23. 23. Advanced Developer Topics <ul><li>Performance - Designing Apps for speed and scale </li></ul><ul><ul><li>Gadgets are Web apps too! </li></ul></ul><ul><ul><ul><li>Use tools like Firebug, Yslow (Firefox), Web Inspector (Safari), HttpWatch (Internet Explorer) </li></ul></ul></ul><ul><ul><ul><li>Minify/compact JavaScript, CSS </li></ul></ul></ul><ul><ul><ul><li>Image “spriting” to reduce requests </li></ul></ul></ul><ul><ul><ul><li>Measure latency using JavaScript </li></ul></ul></ul><ul><ul><li>OpenSocial development best practices </li></ul></ul><ul><ul><ul><li>Use batch requests </li></ul></ul></ul><ul><ul><ul><li>Take advantage of new 0.9 features </li></ul></ul></ul><ul><ul><ul><li>… </li></ul></ul></ul><ul><ul><li> (Just google “OpenSocial Apps Speed Scale”) </li></ul></ul>
    24. 24. OpenSocial Server-Side development
    25. 25. OpenSocial Server-Side Development <ul><li>OpenSocial’s RESTful/RPC protocol has been available since version 0.8 </li></ul><ul><li>Allows for server-to-server communication with OpenSocial container </li></ul><ul><li>OpenSocial REST/RPC Client Libraries simplify communication with OS container </li></ul><ul><li>Integrated with Open Standard, OAuth, for secure Web transactions </li></ul>
    26. 26. Introducing the OpenSocial Client Libraries A set of client libraries for that enable direct communication to an OpenSocial server. <ul><li>Client libraries exist for PHP, Ruby, Python and Java </li></ul><ul><li>Supports both REST and RPC protocols </li></ul><ul><li>Documentation Wiki pages </li></ul><ul><li>Sample applications provided </li></ul>
    27. 27. Demos <ul><li>Using OSDE to build Java RESTful client applications </li></ul><ul><li>New tutorials </li></ul><ul><ul><li>Using 2-legged OAuth in a WebApp </li></ul></ul><ul><ul><li>Using 3-legged OAuth in a WebApp </li></ul></ul>
    28. 28.
    29. 29. <ul><li> </li></ul>
    30. 30. Great documentation resource
    31. 31. The OpenSocial specification process
    32. 32. Many developer resources
    33. 33. Useful OpenSocial Links <ul><li>Homepage & specification: http://www. opensocial .org </li></ul><ul><li>OpenSocial Wiki! (Compliancy, Cross container development …) </li></ul><ul><ul><li>http://wiki. opensocial .org </li></ul></ul><ul><li>Get on the forums: </li></ul><ul><ul><li>http://groups. google . com/group/opensocial </li></ul></ul><ul><li>Help shape the specification: </li></ul><ul><ul><li>http://groups. google . com/group/opensocial-and-gadgets-spec/ </li></ul></ul><ul><li>Check out OSDE: </li></ul><ul><ul><li>http://code. google . com/p/opensocial-development-environment/ </li></ul></ul><ul><li>Check out OSDA: </li></ul><ul><ul><li> </li></ul></ul>
    34. 34. Questions Q&A <ul><li>Chris Schalk </li></ul><ul><li>Twitter: @cschalk </li></ul><ul><li>[email_address] </li></ul>
    35. 35. Thank You! 감사합니다 !