my-Channels Nirvana – One Channel Powering HTML and Silverlight

Numerous company are supporting/using protobuf – including my-Channels Nirvana.

If you happen to have both a HTML(5) and Microsoft Silverlight RIA that both connect to my-Channels Nirvana you probably don’t want to setup separate channels to push data to the different RIA’s – separate channels as in one sending JSON for HTML(5) and the other sending appropriate Data Transfer Objects (DTOs) for Silverlight. Enter protojs which offers the ability to leverage protobuf in JavaScript, and likewise using protobuf-net for Silverlight/.NET.

Leveraging Cygwin you can build the protojs tool, and then generate the appropriate code from the .proto files:

./pbj.exe path/to/proto.proto path/to/output.cs

Advertisement

~ by mdavey on February 11, 2011.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 273 other followers