Started to learn OpenSocial
I just started to learn OpenSocial. First of all, I organized terminologies.
Gadget
Gadgets are mini-applications built using HTML, with JavaScript, Flash or Silverlight for dynamic behaviors. Since gadgets can run on multiple sites and platforms, there are special tags and libraries that work in different places. All of these are extensions to the core gadgets API, to provide additional functionality.
Gadgets API Reference
The gadgets API consists of a few simple building blocks: XML, HTML, and JavaScript.
OpenSocial - a subset of Gadget
A set of common Application Programming Interfaces (APIs) for web-based social network applications, developed by Google and a number of other social networks. Applications implementing the OpenSocial APIs will be interoperable with any social network system that supports them.
OpenSocial Jargon
- Owner
- The user who has installed the app
- Viewer
- The user who is using the app
- Friends
- Relationship between two users
- OpenSocial App
- A Gadget Specification compliant
- App Data
- Data stored by an app
- Activity
- Data stored by a user (what a user does)
- Container
- A website
OpenSocial APIs
- OpenSocial REST: for server to server communication
- OpenSocial JSON-RPC: for gadget to server communication
- Javascript: for gadgets
References
- https://developers.google.com/gadgets/docs/overview
- https://developers.google.com/gadgets/docs/gs?hl=en
- https://developers.google.com/gadgets/docs/reference/
- http://docs.opensocial.org/display/OSD/Common+Container+Specification
- http://opensocial-resources.googlecode.com/svn/spec/2.0/OpenSocial-Specification.xml#rfc.section.3