space proposal
DESCRIPTION
Presentation of the Space proposal for OpenSocial 3.0 summit.TRANSCRIPT
![Page 1: Space proposal](https://reader033.vdocuments.mx/reader033/viewer/2022051513/5459744caf79590b088b57b7/html5/thumbnails/1.jpg)
Space proposal for OS.next
Evgeny Bogdanov
February 28, 2012
1/10
![Page 2: Space proposal](https://reader033.vdocuments.mx/reader033/viewer/2022051513/5459744caf79590b088b57b7/html5/thumbnails/2.jpg)
Content
I Why Space??
I Main spec changes
I APIs
I Points to discuss
2/10
![Page 3: Space proposal](https://reader033.vdocuments.mx/reader033/viewer/2022051513/5459744caf79590b088b57b7/html5/thumbnails/3.jpg)
Person model
3/10
![Page 4: Space proposal](https://reader033.vdocuments.mx/reader033/viewer/2022051513/5459744caf79590b088b57b7/html5/thumbnails/4.jpg)
What is missing?
4/10
![Page 5: Space proposal](https://reader033.vdocuments.mx/reader033/viewer/2022051513/5459744caf79590b088b57b7/html5/thumbnails/5.jpg)
Space model
5/10
![Page 6: Space proposal](https://reader033.vdocuments.mx/reader033/viewer/2022051513/5459744caf79590b088b57b7/html5/thumbnails/6.jpg)
Space/Group confusion
Not to confuse with OpenSocial groups!Group - to tag people (like circles in Google+)
I Friends
I Relatives
I Best friends
I Project partners
Space - a context shared by several people
I University course
I Facebook group
I OpenSocial group on Google Groups
6/10
![Page 7: Space proposal](https://reader033.vdocuments.mx/reader033/viewer/2022051513/5459744caf79590b088b57b7/html5/thumbnails/7.jpg)
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
![Page 8: Space proposal](https://reader033.vdocuments.mx/reader033/viewer/2022051513/5459744caf79590b088b57b7/html5/thumbnails/8.jpg)
Main APIs changes
Get peopleBefore: /people/User-Id/Group-IdSpace: /people/Context-Id/Group-Id [/Context-Type]
Get appdataBefore: /appdata/User-Id/Group-Id[/App-Id]Space: /appdata/Context-Id/Group-Id[/Context-Type][/App-Id]
Get groupsBefore: /groups/User-Id[/Group-Id]Space: /groups/Context-Id[/Group-Id][/Context-Type]
8/10
![Page 9: Space proposal](https://reader033.vdocuments.mx/reader033/viewer/2022051513/5459744caf79590b088b57b7/html5/thumbnails/9.jpg)
To discuss
I JS getContext API
I APIs (backward compatible??)
I AppData (some clarifications are needed)
I Groups vs Groups+Roles
I Implementation in Shindig (incremental)
9/10
![Page 10: Space proposal](https://reader033.vdocuments.mx/reader033/viewer/2022051513/5459744caf79590b088b57b7/html5/thumbnails/10.jpg)
Questions
Thank you for your attention!http://docs.opensocial.org/display/OSD/Space+Proposal
10/10