Hacker News new | past | comments | ask | show | jobs | submit login
DNode: Asynchronous Remote Method Invocation for Node.js and the Browser (substack.net)
17 points by substack on July 11, 2010 | hide | past | favorite | 4 comments



This is the kind of thing that makes server-side js more compelling - bridging the language gap between the client and the server.

This particular approach seems to have some security implications though. What's to prevent a client from sending malicious code to the server?


The client doesn't send code to the server, just a JSON representation of the function arguments (which can include names of client-side callback functions). There's no eval.


Thanks for this response and the parent question too. I updated the article to make this point more clear.


Everyone should start using this module for remote method invocation in node.js!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: