[OS 3] Tieing APIs To Features

7 views
Skip to first unread message

Ryan Baxter

unread,
Feb 5, 2012, 2:14:22 PM2/5/12
to OpenSocial and Gadgets Specification Discussion
I was talking to a novice gadget developer a while ago and he posed an
interesting question. "How do I know what features to require when I
want to use certain APIs?" I did not really have a good answer for
him. Section 4.1.1.1 of core gadget has a nice table which maps
javascript namespaces to feature names which is nice, but this is only
for some of the core apis. What if I wanted to use APIs in the osapi,
or opensocial.data namespases? I didn't see anywhere in the specs
that called out what features I need in order to use those APIs. As
part of the cleanup for OpenSocial 3.0 I would like to see any easy
way to identify what features I need to use in order use certain
APIs. Thoughts?

Ryan Baxter

unread,
Feb 5, 2012, 2:15:32 PM2/5/12
to OpenSocial and Gadgets Specification Discussion

Matthew Marum

unread,
Feb 5, 2012, 2:21:43 PM2/5/12
to opensocial-an...@googlegroups.com
I think every JavaScript API in the spec should have a reference or a link to the Feature that includes it.

Matt


--
You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
To post to this group, send email to opensocial-an...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en.


Henry Saputra

unread,
Feb 5, 2012, 4:25:16 PM2/5/12
to opensocial-an...@googlegroups.com
Hmm I remember there is OS versioning support for the features?

HS

Matthew Marum

unread,
Feb 5, 2012, 4:31:02 PM2/5/12
to opensocial-an...@googlegroups.com
There is versioning in the spec for features but I haven't seen it widely used.

Matt

Mark W.

unread,
Feb 6, 2012, 6:53:14 PM2/6/12
to opensocial-an...@googlegroups.com
Ryan,

We should do this and work with the shindig community to make the structure of shindig a bit easier to consume as well. Andy Smith was going to post something on that list b/c we talked about this last Friday. 

Also, as Matt points out, there is feature versioning in the spec, but it's, regrettably, not implemented in Shindig yet. I don't think it would be that hard, it's just not done yet.
 

Ryan Baxter

unread,
Feb 6, 2012, 8:56:14 PM2/6/12
to OpenSocial and Gadgets Specification Discussion
I dont see what feature versioning has to do with defining what
features container which APIs. (Well maybe it does as we add
different features, but I am talking at a higher level.) Its
difficult to find out what features I need to require to use which
API. Sometimes the feature name is only mentioned in the example,
sometimes its there in the text of the spec, sometimes its not there
at all. I just want a clear place to go once I know what API I want
to use to find out what feature I need.

Matthew Marum

unread,
Feb 6, 2012, 10:23:35 PM2/6/12
to opensocial-an...@googlegroups.com
I thought I already posted this somewhere else but I agree.  I think every API in the spec should have a link/reference to the feature name that included it.

I also agree that Shindig could be better structured to ease adoption and understanding of OpenSocial.

Matt

Ryan Baxter

unread,
Feb 7, 2012, 8:35:56 PM2/7/12
to OpenSocial and Gadgets Specification Discussion
Thanks Matt, glad we are on the same page. We should push this
forward into a 2.5 release, does that seem reasonable?

Mark W.

unread,
Feb 7, 2012, 8:42:52 PM2/7/12
to opensocial-an...@googlegroups.com
So I think we are on the same page with the problem?

Let's just bring this into 3.0 and add it to the kickoff.

Andy Smith

unread,
Feb 8, 2012, 6:44:07 AM2/8/12
to opensocial-an...@googlegroups.com
+1  to Ryan's suggestion.  There certainly needs to be more clarity at the specification level.  Mark, Matt and I talked a little about this last week regarding how we organize the structure in Apache Shindig.  Today, features are either in features or extras.  It would be nice if we grouped these logically.  This was the first pass at the logical grouping:

Features
Features Incubating
Features Core
Extras Experimental
Libraries (Dojo, JQuery, etc)
Deprecated (6-1.0)



,
On Tue, Feb 7, 2012 at 8:42 PM, Mark W. <weitze...@gmail.com> wrote:
So I think we are on the same page with the problem?

Let's just bring this into 3.0 and add it to the kickoff.

--
You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.

To post to this group, send email to opensocial-an...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en.



--
Thank you,

Andy

Ryan Baxter

unread,
Feb 8, 2012, 7:52:28 PM2/8/12
to OpenSocial and Gadgets Specification Discussion
Seems like the right approach Andy. I would argue this is something
we can do for 2.5 since we will essentially just adding a table(s).

On Feb 8, 6:44 am, Andy Smith <and...@gmail.com> wrote:
> +1  to Ryan's suggestion.  There certainly needs to be more clarity at the
> specification level.  Mark, Matt and I talked a little about this last week
> regarding how we organize the structure in Apache Shindig.  Today, features
> are either in features or extras.  It would be nice if we grouped these
> logically.  This was the first pass at the logical grouping:
>
> Features
> Features Incubating
> Features Core
> Extras Experimental
> Libraries (Dojo, JQuery, etc)
> Deprecated (6-1.0)
>
> *
>
> *
> ,
>
>
>
>
>
>
>
>
>
> On Tue, Feb 7, 2012 at 8:42 PM, Mark W. <weitzelm.w...@gmail.com> wrote:
> > So I think we are on the same page with the problem?
>
> > Let's just bring this into 3.0 and add it to the kickoff.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "OpenSocial and Gadgets Specification Discussion" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/ST_CibK...
> > .

Andy Smith

unread,
Feb 9, 2012, 12:54:22 PM2/9/12
to opensocial-an...@googlegroups.com
+1, agree this seems pretty straight forward.

Henry Saputra

unread,
Feb 9, 2012, 1:22:08 PM2/9/12
to opensocial-an...@googlegroups.com
Ah got it =)

I thought you were concern what features and APIs available for
certain OS version.

Apologize about the misunderstanding.

+1 for the idea.

- Henry

Reply all
Reply to author
Forward
0 new messages