Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1176

Shindig-specific feature implementation shouldn't extend OpenSocial namespaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Javascript
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            randy.hudson Randy Hudson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: