Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The OpenSocial spec defines the javascript API for the namespaces "opensocial.", "gadgets.", and "osapi.*". Any additional API needed by shindig's implementation of features should be in a namespace owned by shindig. This would help to avoid future API collisions and reduce confusion caused by such namespace pollution for anyone trying to adopting and improve shindig.
For example, 'gadgets.rpc.setRelayUrl" is not defined anywhere in the spec. A better name for this function might be "shindig.rpc.setRelayUrl", to make it clear that this method only exists in shindig.