Hi,

I have been working towards a web-based C/S protocol for the C++ wave server
(http://code.google.com/p/qwaveclient/source/checkout).

So far I implemented a FastCGI interface. Thus, I can run the wave server
behind lighttpd or apache. Regarding the C/S protocol I saw some work on
reverse engineering the google wave C/S protocol. It seems to me that Google
is using protobuf with a JSON-based wire-protocol, i.e. when sending an
instance of

message X
{
required int32 a = 1;
required int32 b = 2;
}

the protocol sends something like this:

{ "1": 500, '2" : 300 }

where 500 and 300 are the values for a and b. Now I am planning to use HTTP
long calls (no websocket support in major browsers currently) and exchange
OT deltas as specified in common.proto, but using the JSON-wire-protocol
instead of the binary wire protocol. I started writing a protoc extension
which generates the C++ and JavaScript code for this wire-protocol.

Is this going in the right direction? I know that Google will not release
their C/S protocol tomorrow, but I would like to know whether I am at least
on the right path regarding technology. If someone at Google could briefly
comment on this, I would be deeply grateful.

I welcome any comments and suggestions regarding a web-based C/S protocol.

Greetings
Torben

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.

Reply via email to