<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Yes. It will nice to use the  ipython architecture for interactive stuff.  Let's say if I create a javascript widget, and I want to send the event to a user defined function/method, what is the best way to do that?   What I think is to have a auxiliary websocket-zmq bridge for this purpose.  Does it make sense?</div><div><br></div><br><div><div>On Feb 13, 2012, at 2:34 PM, Brian Granger wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">We already have WebSocket based channels that the notebook uses to<br>talk between the Javascript and Python code running in the kernel.<br>While it needs to be refactored, all of that infrastructure is already<br>setup and doesn't need to be reinvented.<br></span></blockquote></div><br></body></html>