The document discusses OpenSocial, a set of APIs for building social applications across multiple websites. It covers OpenSocial concepts, the Apache Shindig reference implementation, and the OpenSocial specification process. Specifically, it defines what OpenSocial is, who manages it, where it is used, and how Shindig can be used to host OpenSocial applications through its gadget server and OpenSocial data server components. The document also outlines the RESTful and RPC protocols supported by OpenSocial and how the OpenSocial specification is developed through an open process.
Adaptação da minha palestra na InfoQ e na Campus Party para o grupo .Net Architects que se encontra na Unip. http://www.dotnetarchitects.net/ Foi muito legal.
Adaptação da minha palestra na InfoQ e na Campus Party para o grupo .Net Architects que se encontra na Unip. http://www.dotnetarchitects.net/ Foi muito legal.
Futuropolis 2058 Singapore - OpenSocial, a standard for the social webPatrick Chanezon
The latest developments in social networking platforms and their importance in connecting people, places and ideas will be presented. Interoperability of these various platforms is crucial to allow for the message of sustainability and the future of connectivity for citizens of the future.
Goodle Developer Days Madrid 2008 - Open Social UpdatePatrick Chanezon
Updates about the OpenSocial ecosystem at Google developer days Madrid including presentations from Netlog and Viadeo.
OpenSocial is an open specification defining a common API that works on many different social websites, including MySpace, Plaxo, Hi5, Ning, orkut, Friendster Salesforce.com and LinkedIn, among others. This allows developers to learn one API, then write a social application for any of those sites: Learn once, write anywhere.
In addition, in order to make it easier for developers of social sites to implement the API and make their site an OpenSocial container, the Apache project Shindig provides reference implementations for OpenSocial containers in two languages (Java, PHP). Shindig will define a language specific Service Provider Interface (SPI) that a social site can implement to connect Shindig to People, Persistence and Activities backend services for the social site. Shindig will then expose these services as OpenSocial JavaScript and REST APIs.
In this session we will explain what OpenSocial is, show examples of OpenSocial containers and applications, demonstrate how to create an OpenSocial application, and explain how to leverage Apache Shindig in order to implement an OpenSocial container.
This is the latest version of my manifesto - presented first in Montreal at Webcom-Montreal '09 - May 13th, 2009.
This version includes the Digital City project, the virtuous circle and a day in the life of a Digital city.
Code One 2018 presentation. "A Thousand Things You Always Wanted To Know About SSO But Never Dared Ask". How many times have you been in a meeting with a salesperson and started to sweat when you heard, “Yes, the system will be fully integrated with your SSO”? How many times have you searched on the internet for SSO and closed your browser after the second click? SAML, OAUth, ws-fed...which of these is the right protocol? Shibboleth, OpenAM, ADFS2, Keycloak...do I need all of them? Do I need them at all? Which is the right solution for my application? How can I protect my APIs? This session covers the most-popular SSO scenarios and will guide you along the sometimes obscure path to the “log in once and access everything” Grail.
An overview and update presentation on Google App Engine given by Google Developer Advocate Christian Schalk at the 2011 DevFest Singapore and Jakarta events. Developer Advocate Wesley Chun also participated in the Q&A.
Futuropolis 2058 Singapore - OpenSocial, a standard for the social webPatrick Chanezon
The latest developments in social networking platforms and their importance in connecting people, places and ideas will be presented. Interoperability of these various platforms is crucial to allow for the message of sustainability and the future of connectivity for citizens of the future.
Goodle Developer Days Madrid 2008 - Open Social UpdatePatrick Chanezon
Updates about the OpenSocial ecosystem at Google developer days Madrid including presentations from Netlog and Viadeo.
OpenSocial is an open specification defining a common API that works on many different social websites, including MySpace, Plaxo, Hi5, Ning, orkut, Friendster Salesforce.com and LinkedIn, among others. This allows developers to learn one API, then write a social application for any of those sites: Learn once, write anywhere.
In addition, in order to make it easier for developers of social sites to implement the API and make their site an OpenSocial container, the Apache project Shindig provides reference implementations for OpenSocial containers in two languages (Java, PHP). Shindig will define a language specific Service Provider Interface (SPI) that a social site can implement to connect Shindig to People, Persistence and Activities backend services for the social site. Shindig will then expose these services as OpenSocial JavaScript and REST APIs.
In this session we will explain what OpenSocial is, show examples of OpenSocial containers and applications, demonstrate how to create an OpenSocial application, and explain how to leverage Apache Shindig in order to implement an OpenSocial container.
This is the latest version of my manifesto - presented first in Montreal at Webcom-Montreal '09 - May 13th, 2009.
This version includes the Digital City project, the virtuous circle and a day in the life of a Digital city.
Code One 2018 presentation. "A Thousand Things You Always Wanted To Know About SSO But Never Dared Ask". How many times have you been in a meeting with a salesperson and started to sweat when you heard, “Yes, the system will be fully integrated with your SSO”? How many times have you searched on the internet for SSO and closed your browser after the second click? SAML, OAUth, ws-fed...which of these is the right protocol? Shibboleth, OpenAM, ADFS2, Keycloak...do I need all of them? Do I need them at all? Which is the right solution for my application? How can I protect my APIs? This session covers the most-popular SSO scenarios and will guide you along the sometimes obscure path to the “log in once and access everything” Grail.
Similar to Open Social Shindig Preso for FB and OpenSocial Meetup (20)
An overview and update presentation on Google App Engine given by Google Developer Advocate Christian Schalk at the 2011 DevFest Singapore and Jakarta events. Developer Advocate Wesley Chun also participated in the Q&A.
How to build Kick Ass Games in the CloudChris Schalk
This is a presentation given by Googlers Chris Schalk and Johan Euphrosine (Proppy) at GDD Sydney 2011 on how to build multi-platform video games using PlayN.
Building Kick Ass Video Games for the CloudChris Schalk
This is a presentation that covers how to use PlayN to build kick ass games for the cloud. It was delivered at GDC Online 2011, by Google Developer Advocate, Chris Schalk
Building Integrated Applications on Google's Cloud TechnologiesChris Schalk
This is the presentation "Building Integrated Applications on Google's Cloud Technologies" that was given at GDD 2011 #gdd11 in Sao Paulo and Buenos Aires by Google Developer Advocate Chris Schalk @cschalk.
GDD 2011 - How to build kick ass video games for the cloudChris Schalk
This is the Google Developer Day 2011 "How to build kick ass games in the cloud" presentation that was given in Sao Paulo and Buenos Aires. (The title is in Spanish since it was last given in Argentina - the content is the same as Sao Paulo though)
It was given by Google Developer Advocate, Chris Schalk in Sept 2011. @cschalk
Quick Intro to Google Cloud TechnologiesChris Schalk
This is the "Lightning Presentation" given at DreamForce 2011 on Google's Cloud Technologies. It covers, App Engine, Google Storage and BigQuery. #df11
An overview of the different Google Cloud Technologies. Includes coverage of Google App Engine, Google Storage, Google Prediction Api, and BigQuery.
This presentation was given to the San Diego GTUG on Aug 26th, 2011.
Introduction to Google's Cloud TechnologiesChris Schalk
An overview of the different Cloud technologies available from Google including App Engine, Google Storage, Google Prediction API, and BigQuery.
This presentation was given to the San Diego GTUG on Aug 26th, 2011.
A review and update presentation on Google App Engine's latest features up through version 1.5.3 and including new experimental features. This presentation was given to the San Diego GTUG on Aug 26, 2011.
Building Apps on Google Cloud TechnologiesChris Schalk
This is a presentation on how to use the different Google Cloud technologies to build applications.
It was delivered in Mexico City at the "EstoEsGoogle" aka Devfest Mexico event on Aug 9th, 2011 in Mexico City by Google Developer Advocate Chris Schalk.
This is a presentation on Google App Engine's Latest Features.
It was delivered in Mexico City at the "EstoEsGoogle" aka Devfest Mexico event on Aug 9th, 2011 in Mexico City by Google Developer Advocate Chris Schalk.
Building Multi-platform Video Games for the CloudChris Schalk
This is a presentation on how to build multi-platform (HTML5, Flash, Java/Android) video games using an open source technology known as Forplay (PlayN).
This presentation was delivered in Mexico City on Aug 9th, 2011 at the "EstoEsGoogle" aka Devfest Mexico event on Aug 9th in Mexico City by Google Developer Advocate Chris Schalk
Building Enterprise Applications on Google Cloud Platform Cloud Computing Exp...Chris Schalk
This is a presentation given by Google Developer Advocate Chris Schalk at Cloud Expo in NYC on June 8th 2011 on building enterprise applications with Google's Cloud Platform.
This is an introduction presentation on App Engine for Business given by Chris Schalk, Google Developer Advocate on Oct 26, 2010 at the PayPal Innovate conference.
Introduction to Google Cloud platform technologiesChris Schalk
This is a presentation given by Google Developer Advocate Chris Schalk at Spring One 2GX on Oct 21st, 2010. It introduces Google Storage for Developers, Prediction API, and BigQuery.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
9. OpenSocial Concepts
What is OpenSocial?
“OpenSocial defines a common set of APIs based on Open Standards
for building social applications across multiple websites”
9
10. OpenSocial Concepts
Who own’s OpenSocial?
? No!
OpenSocial is managed under the auspices of the
“OpenSocial Foundation” - http://www.opensocial.org
10
14. Where is OpenSocial live today?
Applications live to Users: Initial Developer Sandboxes:
• LinkedIn - New • iGoogle
• MySpace • Yahoo!
• orkut • Minglebox
• Hi5 • imeem
• Freebar
• Viadeo
• Friendster
• CityIN
• Webon from Lycos
• IDtail
• Tianya
• YiQi • Ning
• Netlog • Plaxo Pulse
• Hyves • Lokalisten
• … many more in the pipeline!
• Ning
• Fanbox
• XiaoNei
• Mail.ru
• Socialtext
• 51.com http://wiki.opensocial.org
14
15. Not just Social Network Sites
• Social network sites - Profiles and home pages
ex: MySpace, Hi5
• Personal dashboards – Widgets
ex: iGoogle, My Yahoo
• Sites based around a Social Object
ex: Flickr, YouTube
• Enterprise, Professional
ex: LinkedIn, Oracle, SalesForce.com
• Any web site
15
16. OpenSocial Roadmap
• Version 0.5 was released in a “developer release” on Nov
1st.
• First “sandbox” was made available on Orkut
• Version 0.6 was released in December
• Initial version of Shindig server software was launched as Apache
incubator project
• Other sandboxes came live - Hi5, Ning, Plaxo …
• Version 0.7 (production) was released in January
• MySpace, Hi5, Orkut currently running with 0.7
16
17. OpenSocial Roadmap
• Version v0.8 is current
• Latest evolution of OpenSocial as defined by the
OpenSocial development community
• Updated JavaScript API
• Now contains a RESTful API
• hi5, MySpace, orkut, iGoogle now support 0.8
• Specification:
http://www.opensocial.org/Technical-Resources/opensocial-spec-v08
17
18. OpenSocial v0.8.1 spec is here
• Specification is now published
• Updates include:
• RESTful Protocol updates
• JSON RPC Protocol
• Specification:
http://sites.google.com/a/opensocial.org/opensocial/Technical-
Resources/opensocial-spec-v081
18
19. OpenSocial 0.9 - Future Directions
• Goal:
– Enable a faster development experience that is both secure and
efficient
• Solution: “Opensocial Templates”!
OS Templates core principles:
• Client-side and server-side processing
• Standard set of tags with extensibility model
– Example: <os:ShowPerson>
• http://groups.google.com/group/opensocial-and-gadgets-
spec/web/opensocial-templates
– Demo: http://ostemplates-demo.appspot.com/
19
20. To follow the progress of the Spec…
http://groups.google.com/group/opensocial-and-gadgets-spec
20
22. Agenda
• OpenSocial Concepts
• Apache Shindig
• The OpenSocial Specification Process
22
23. How do you host OpenSocial Applications?
1. Can build your own server that implements
OpenSocial specification…
2. Or can use “Shindig” - Reference implementation for
OpenSocial
23
24. Hosting OpenSocial Applications
What is Shindig?
• Apache Incubator Project
• Currently available in Java and PHP
• Shindig Components:
• Gadget Server
•Parses gadget XML, renders as HTML/JS/CSS
• OpenSocial Data Server
• Plugs into social graph data
• RESTful, RPC protocol services
• Downloaded JavaScript libraries
•Core gadgets, OpenSocial client JavaScript environment
http://incubator.apache.org/shindig
24
25. Why use Shindig?
• Strong Open Source community
• High quality production-ready code
• Used by: hi5, orkut, iGoogle, Netlog, Hyves …
• Synchronized with specification
• Language neutral (Java, PHP, …)
• .Net coming soon!
25
26. How Shindig works
• Gadget Server
• OpenSocial Data Server
Shindig
Yoursite.com
Gadget
Gadget Server
OpenSocial
DataServer
26 26
27. Java Shindig components
• Gadget Server
• OpenSocial Data Server
Shindig
Yoursite.com
Gadget
Gadget Server
OpenSocial
DataServer
27 27
28. Shindig success at hi5
• Big Traffic
• 10k req/sec Edge
• 6k req/sec Origin
• Hundreds of Developers
• 1800+ Apps
• 1 Billion hits/day
… on 42 Shindig servers
28 28
30. Adapting Shindig
• Adapting Shindig to your own social data
Shindig
Gadget Server
OpenSocialDataServer
ActivityService Social Graph
PersonService Data
AppDataService
30
32. RESTful and RPC protocols
Shindig now supports both REST and RPC protocols as of v0.8!
Opens new development models
• Background processing.
• Easier Flash integration.
• Mobile applications.
32
33. RESTful and RPC protocols
Communication methods:
•RESTful (Representational State Transfer)
•RPC (Remote Procedure Call)
Formats:
•XML
•JSON
•AtomPub
33
34. RESTful and RPC protocols
REST:
•Resources are URLs.
Example - People:
• All people connected to the given user:
/people/{guid}/@all
• All friends of the given user:
/people/{guid}/@friends
• Profile of the given user:
/people/{guid}/@self
• Profile of the authenticated user:
/people/@me/@self
• Supported Person fields:
/people/@supportedFields
34
38. RESTful and RPC protocols
REST has some disadvantages:
•Batch support requires multiple HTTP requests, or a contrived URL
scheme.
•Specifying multiple users via querystring is difficult. Is
?uid=1234,5678 the same resource as ?uid=5678,1234 ?
38
40. RESTful and RPC Client libraries
Client libraries are being created for PHP, Java, Ruby and Python.
• Help you connect to OpenSocial containers, and work with social
data on your server.
http://code.google.com/p/opensocial-java-client/
http://code.google.com/p/opensocial-ruby-client/
http://code.google.com/p/opensocial-php-client/
40
41. RESTful and RPC protocols
Sample: Fetch a user’s friends from Shindig:
OpenSocialClient c = new OpenSocialClient(quot;myhost.comquot;);
c.setProperty(OpenSocialClient.Properties.REST_BASE_URI, quot;http://localhost:8080/social/rest/quot;);
try {
OpenSocialPerson p = c.fetchPerson(quot;john.doequot;);
System.out.println(p.getDisplayName());
Collection<OpenSocialPerson> friends = c.fetchFriends(quot;john.doequot;);
for (OpenSocialPerson friend : friends) {
System.out.println(friend.getDisplayName());
}
} catch (Exception e) {
}
41
43. Example container applications
Java
• Socialsite
• Created by Sun
• Flexible social graph
• Completely Open Source
https://socialsite.dev.java.net/
43
44. Example container applications
PHP
• Partuza
• Created by Google employee
• Hosted on Google Projects
• Based on PHP Shindig
http://code.google.com/p/partuza/
44
45. Agenda
• OpenSocial Concepts
• Apache Shindig
• The OpenSocial Specification Process
45
49. Useful Links
Homepage & specification: http://www.opensocial.org
New Wiki! (Compliancy, Cross container development …)
• http://wiki.opensocial.org
Get on the forums:
• http://groups.google.com/group/opensocial
Subscribe to the Shindig mailing list:
• shindig-dev-subscribe@incubator.apache.org
Help shape the specification:
• http://groups.google.com/group/opensocial-and-gadgets-spec/
Check out Shindig:
• http://incubator.apache.org/shindig
OS Templates:
• http://groups.google.com/group/opensocial-and-gadgets-spec/web/opensocial-templates
49