Education

Open Social

Description
1. Danish Nadeem Celstec, OUNL 20-01-2009 2. <ul><li>The Web is better when it’s social” </li></ul><ul><li>What is OpenSocial?…
Categories
Published
of 16
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  • 1. Danish Nadeem Celstec, OUNL 20-01-2009
  • 2. <ul><li>The Web is better when it’s social” </li></ul><ul><li>What is OpenSocial? </li></ul><ul><li>How is OpenSocial useful? </li></ul><ul><li>OpenSocial: Technology Overview </li></ul><ul><li>Developing a Social App: a “Hello World“ example on orkut </li></ul><ul><li>References </li></ul>
  • 3. <ul><li>Social Networks provide sociability of web. </li></ul><ul><li>Millions of users already have signed up for different social networks around the world, number growing everyday. </li></ul><ul><li>Building apps that easily interact with your friends and colleagues would make web more social. </li></ul>
  • 4. Slide Source: Chris Schalk @ Google TM … how to build an application that will run on multiple social websites
  • 5. A common set of APIs for building social applications across multiple websites. Currently many websites implement OpenSocial: hi5, Hyves, LinkedIn, MySpace, Ning, Oracle, orkut, Plaxo, XING and so on.
  • 6. Slide Source: Chris Schalk @ Google TM
  • 7. <ul><li>The existence of single programming model (common set of APIs) helps both developers and websites. </li></ul><ul><li>First, developers only have to learn the APIs once in order to build applications that work with any OpenSocial-enabled website. </li></ul><ul><li>Second, because any website can implement OpenSocial. Websites can benefit by engaging a much larger pool of third party developers than they could without a standard set of APIs. </li></ul>
  • 8. <ul><li>Facilitate developers to create applications that access a social network's friends and update feeds (using standard technology : HTML, Javascript). </li></ul>
  • 9. <ul><li>OpenSocial is based on HTML and JavaScript as well as the Google Gadgets framework. </li></ul><ul><li>OpenSocial includes three core APIs for social software applications to access data and core functions on participating social networks </li></ul><ul><li>Each API addresses a different aspect: </li></ul><ul><ul><ul><li>one for People and Friends (people and relationship information) </li></ul></ul></ul><ul><ul><ul><li>one for Activities (publishing and accessing user activity information to others e.g reading books, watching movies etc.) </li></ul></ul></ul><ul><ul><ul><li>one for Persistence (provides a storage mechanism to save and load data). </li></ul></ul></ul>
  • 10. <ul><li>What you need? </li></ul><ul><ul><li>a text editor </li></ul></ul><ul><ul><li>web hosting (google also provides hosting) </li></ul></ul><ul><ul><li>an orkut account </li></ul></ul><ul><ul><li>Access to the orkut sandbox (to test your social applications) </li></ul></ul>
  • 11. <ul><li><?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?> </li></ul><ul><li><Module> </li></ul><ul><li><ModulePrefs title=&quot;Hello World!&quot;> <Require feature=&quot;opensocial-0.8&quot; /> </li></ul><ul><li></ModulePrefs> </li></ul><ul><li><Content type=&quot;html&quot;> <![CDATA[ Hello, world! ]]> </li></ul><ul><li></Content> </li></ul><ul><li></Module> </li></ul>
  • 12. Hello world example... <ul><li>Gadgets are specified in XML. The first line is the standard way to start an XML file. </li></ul><ul><li>The <Module> tag indicates that this XML file contains a gadget. </li></ul><ul><li>The < ModulePrefs > tag contains information about the gadget such as its title, description, author, and other optional features. </li></ul><ul><li>The line <Content type=&quot;html&quot;> indicates that the gadget's content type is HTML. </li></ul><ul><li><![CDATA[ ... insert HTML here ... ]]> is used to enclose HTML when a gadget's content type is html. </li></ul><ul><li></Content> signifies the end of the Content section </li></ul><ul><li></Module> signifies the end of the gadget definition </li></ul>
  • 14. Listing friends example app
  • 15. <ul><li>Open social can make the web more social </li></ul><ul><li>Developers benefit by using common APIs for multiple websites. </li></ul><ul><ul><li>They can build social applications on different social network sites (orkut, Ning, hi5, MySpace ...) </li></ul></ul><ul><li>OpenSocial version 0.8 is released </li></ul>
  • 16. <ul><li>http://en.wikipedia.org/wiki/OpenSocial/ </li></ul><ul><li>http://code.google.com/apis/opensocial/ </li></ul>
  • We Need Your Support
    Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

    Thanks to everyone for your continued support.

    No, Thanks