Pub/Sub spec in progress...

3 views
Skip to first unread message

Mark W.

unread,
Jul 21, 2010, 4:38:56 PM7/21/10
to OpenSocial and Gadgets Specification Discussion, pede...@us.ibm.com, fa...@google.com
I've checked into the SVN a working draft of the proposal for the
inter-gadget pub/sub. You can review the spec changes here (most of
the work is in core-gadget now).
http://opensocial-resources.googlecode.com/svn/spec/proposals/1.1/inter-gadgetPubSub/

I opened up an issue on the SVN for the OpenSocial spec so that you
can create a "patch" for this work if you want to contribute.
http://code.google.com/p/opensocial-resources/issues/detail?id=1055&can=5&colspec=ID%20Type%20Container%20Stars%20Summary%20Status

The next piece I'll be working on is on the meta-data wiring.

There is also code available in Shindig that we are using as the
required prototype to prove out the spec. It's in a patch right now
and we're working with Paul to get it into RC2. Please take a look and
try it out if you can.
https://issues.apache.org/jira/browse/SHINDIG-1330

Any & all feedback would be great!

Thanks,

-Mark W.


Randy Hudson

unread,
Jul 30, 2010, 3:40:16 PM7/30/10
to OpenSocial and Gadgets Specification Discussion
var g = gadgets.byId(__MODULE_ID__);

What is the type of g? Would this function be called from within a
running gadget? Are Module IDs necessarily unique.

goosemanjack

unread,
Aug 3, 2010, 4:44:46 PM8/3/10
to OpenSocial and Gadgets Specification Discussion
I'm trying to go over this proposal and other than the RPC mechanism
being used, it's not clear what the changes are. Do you have a patch,
or is there I clean section in the OpenAjax spec I could read to
understand what the API will look like for pub, sub, and sending
messages?
--
clc

Mark W.

unread,
Aug 11, 2010, 3:20:08 PM8/11/10
to OpenSocial and Gadgets Specification Discussion
Chris,

Thanks for taking the time to look at this. I'm hoping to have another
rev of the spec changes checked into the branch of SVN here:
http://opensocial-resources.googlecode.com/svn/spec/proposals/1.1/inter-gadgetPubSub/
Admittedly, I'm a bit behind schedule and I'm hoping to have another
rev of the specs out by Friday (assuming, like Moscow, I can get some
fires under control).

Right now, I'm in the process of taking the information from the wiki
where we outlined the proposal, cleaning that up and documenting the
APIs that can be found in Shindig. That will be the basis of the
information. Because this is all javascript code, you should be able
to get it and use it fairly easily. There is a "clean version" of the
OpenSocial spec that you can look at to see the APIs. That is here:
http://opensocial-resources.googlecode.com/svn/spec/proposals/1.1/inter-gadgetPubSub/

Core-Gadget.xml is the one with the majority of the changes now. Each
section that is new or changed has the draft tag and should render
with a red border. This will be much easier to read than the code diff
tool that was used in the past.

If you want a code diff, then you can out the core-gadget.xml file and
then compare it with the very first version (or 1.0 version).

If you'd like to help author the spec (hint), then you can check in
patches to this issue:
http://code.google.com/p/opensocial-resources/issues/detail?id=1055&can=5&colspec=ID%20Type%20Container%20Stars%20Summary%20Status

-Mark W.
Reply all
Reply to author
Forward
0 new messages