10
Space proposal for OS.next Evgeny Bogdanov February 28, 2012 1/10

Space proposal

Embed Size (px)

DESCRIPTION

Presentation of the Space proposal for OpenSocial 3.0 summit.

Citation preview

Page 1: Space proposal

Space proposal for OS.next

Evgeny Bogdanov

February 28, 2012

1/10

Page 2: Space proposal

Content

I Why Space??

I Main spec changes

I APIs

I Points to discuss

2/10

Page 3: Space proposal

Person model

3/10

Page 4: Space proposal

What is missing?

4/10

Page 5: Space proposal

Space model

5/10

Page 6: Space proposal

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

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

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

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

Questions

Thank you for your attention!http://docs.opensocial.org/display/OSD/Space+Proposal

10/10