Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

DNode: Asynchronous Remote Method Invocation for Node.js and the Browser. Mind-bendingly clever. DNode lets you expose a JavaScript function so that it can be called from another machine using a simple JSON-based network protocol. That’s relatively straight-forward... but DNode is designed for asynchronous environments, and so also lets you pass callback functions which will be translated in to references and used to make remote method invocations back to your original client. And to top it off, there’s a browser client library so you can perform the same trick over a WebSocket between a browser and a server.

Tagged , , , , ,

11 comments

  1. Thanks for the great writeup! I liked it so much I put it in the DNode readme.

    James Halliday - 12th July 2010 14:09 - #

  2. The JSON protocol is impossible to be understood if you don't know very well the code. rca ieftin

    Ellis - 6th September 2011 13:50 - #

  3. This Java function is very useful, because now I can pass call back the functions that are translated into references and it is easier for me. implanturi dentare

    Harry - 6th September 2011 15:16 - #

  4. Good post.ring die

    nidayede - 25th October 2011 02:21 - #

  5. how to set goals

    mikey - 26th October 2011 10:36 - #

  6. Loved to read your blog. I would like to suggest you that traffic show most people read blogs on Mondays. So it should encourage blogger to write new write ups over the weekend primarily. car hire gold coast

    flapwer - 27th October 2011 14:32 - #

  7. I admire the valuable information you offer in your articles. I will bookmark your blog and have my children check up here often. I am quite sure they will learn lots of new stuff here than anybody else! bathroom renovation

    flapwer - 27th October 2011 14:41 - #

  8. I will recommend my friends to read this. Bottes UGGI am quite sure they will UGG Pas Cher learn lots of new stuff here than anybody else!

    ugg pas cher - 29th October 2011 02:47 - #

  9. Loved to read your blog. I would like to suggest you that traffic show most people read blogs on Mondays. So it should encourage blogger to write new write ups over the weekend primarily. How to last longer in bed

    Groundless - 1st November 2011 06:18 - #

  10. Thanks for this useful post! cabinet stomatologic

    Peter - 5th November 2011 02:43 - #

  11. I was searching for JSON Websocket examples and found this post.... interresting concept, I'll give it a try. <a href="http://www.royaldental.ro">Implant dentar</a>

    Implant dentar - 8th November 2011 09:08 - #

Comments are closed.
A django site