The osapi.* API makes many opensocial.* methods unnecessary. Deprecating the opensocial.* methods will decrease the size of the OpenSocial APIs and encourage developers to use the osapi.*, which was designed to be lightweight and easier to use. However, there is not a complete overlap, so we can't just deprecate opensocial.* altogether.
The proposal is:
Are your concerns all related to inconsistencies or vagueness in the
On 9/23/09, Paul Lindner <lin...@inuus.com> wrote:
> I'm a little squeamish here, osapi.* have some issues of their own (for
> example spec problems with osapi.http) that make them unsuitable for current
> deployments.
spec? If so, this is the time to fix them. If not, can you give more
details on the
> I'm willing to move forward only if we can get osapi.* rock solid and if weGood idea. Who is your intended audience? App developers looking to
> have migration doc showing each opensocial.* call with
> the equivalent osapi.* call(s).
update their apps, or spec implementers looking to understand osapi?
On Thu, Sep 24, 2009 at 8:49 AM, Lane LiaBraaten <llia...@google.com> wrote:Are your concerns all related to inconsistencies or vagueness in the
On 9/23/09, Paul Lindner <lin...@inuus.com> wrote:
> I'm a little squeamish here, osapi.* have some issues of their own (for
> example spec problems with osapi.http) that make them unsuitable for current
> deployments.
spec? If so, this is the time to fix them. If not, can you give more
details on the
for example, the spec says:osapi.http("http://example.com/", {param: value})when instead you need to use this syntax:osapi.http({href: "http://example.com/", param: value});
> I'm willing to move forward only if we can get osapi.* rock solid and if weGood idea. Who is your intended audience? App developers looking to
> have migration doc showing each opensocial.* call with
> the equivalent osapi.* call(s).
update their apps, or spec implementers looking to understand osapi?
I'd like to see migration aids in the deprecation notice. i.e.@deprecated(since="1.0")@see "osapi.http"Deprecated since 1.0. Use osapi.http to make your proxied calls.etc..
Would it be entirely to radical to move the remaining opensocial.* functions to the osapi name space?
for example, the spec says:osapi.http("http://example.com/", {param: value})when instead you need to use this syntax:osapi.http({href: "http://example.com/", param: value});
osapi.* is intended to be 1:1 with the RPC endpoints, but there isn't an equivalent RPC endpoint for osapi.http. Nonetheless, all other osapi.* methods take a single parameter, a JSON object, so osapi.http should follow suit.
This is already how it is implemented in Shindig, and I'm not aware of any other live implementations, so the effect on existing gadgets will be nil (and the effect on app developers will be less confusion).
Any other concerns with osapi.* ?
opensocial
opensocial.Environment
opensocial.NavigationParameters
opensocial.Permission
-Lane