Re: [protobuf] Way to de-serialize Protobuf data on an HTML-5 client

2012-11-19 Thread Hochhaus, Andrew
On Sun, Nov 18, 2012 at 1:38 PM, Ahmed Charfeddine
 wrote:
> I'm thinking of embedding Protobuf-encoded messages into an HTML5 message
> (Websocket protocol) and use them as a means of communication between a Web
> client and a server.
> My issue is with the client side..
> What are the possibilities we have ?

One possibility is to serialize from protobuf to a JSON-like format
and process that client side.

If you are using closure-library, you can check out goog.proto2:

http://closure-library.googlecode.com/svn/docs/namespace_goog_proto2.html

which can be used with a protobuf plugin to generate the c++ bindings:

http://code.google.com/p/protobuf-plugin-closure/

Depending on which front end JS library and backend language you are
using other more suitable projects may also exist.

-Andy

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Way to de-serialize Protobuf data on an HTML-5 client

2012-11-18 Thread Ahmed Charfeddine
Hi there,
I'm thinking of embedding Protobuf-encoded messages into an HTML5 message 
(Websocket protocol) and use them as a means of communication between a Web 
client and a server.
My issue is with the client side..
What are the possibilities we have ?

Thanks !

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/protobuf/-/haAteWjP5nMJ.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.