[IPython-dev] experiment - remote execution of jquery and d3 code into the browser via ipython
fawce
fawce at quantopian.com
Mon Mar 19 09:22:42 EDT 2012
holy mackerel that's awesome!
Can you elaborate on the callback issue? Wondering why you can't pass in a callback that just makes a ws call internally.
On Mar 19, 2012, at 8:13 AM, hugo wrote:
>
> Thought you might be interested in something I've experimented with over the past few days.
>
> https://github.com/hhuuggoo/pushd3/blob/master/demopush.ogv
>
> I wanted to see how well this concept would work, I set up remote execution of code in the browser by creating an RPC interface around zeromq messages which get forwarded into websockets, and then I forwarded d3 and jquery operations to the browser. It works fine if your arguments are all json serializable, however d3 is heavily reliant on passing callbacks, and I don't have a good way to do that.
>
> Anyways, here it is. This is separate from the ipython notebook, I have a separate gevent based zeromq web socket forwarder that I've also been playing around with which I am using here.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20120319/9a0b9652/attachment.html>
More information about the IPython-dev
mailing list