6. Space/Group confusion
Not to confuse with OpenSocial groups!
Group - to tag people (like circles in Google+)
Friends
Relatives
Best friends
Project partners
Space - a context shared by several people
University course
Facebook group
OpenSocial group on Google Groups
6/10
7. Space support in spec
Context = {
id : User-Id / Space-Id ,
type : @person / @space ,
object : Person / Space
}
Gadget gets its context
opensocial.getContext
// or
osapi.context.get
Security token
st=Viewer-Id:Context-Id:1:1:1:1:1:Context-Type
7/10
8. Main APIs changes
Get people
Before: /people/User-Id/Group-Id
Space: /people/Context-Id/Group-Id [/Context-Type]
Get appdata
Before: /appdata/User-Id/Group-Id[/App-Id]
Space: /appdata/Context-Id/Group-Id[/Context-Type][/App-Id]
Get groups
Before: /groups/User-Id[/Group-Id]
Space: /groups/Context-Id[/Group-Id][/Context-Type]
8/10
9. To discuss
JS getContext API
APIs (backward compatible??)
AppData (some clarifications are needed)
Groups vs Groups+Roles
Implementation in Shindig (incremental)
9/10
10. Questions
Thank you for your attention!
http://docs.opensocial.org/display/OSD/Space+Proposal
10/10