[IPython-dev] ACE Editor Magic for IPython Notebook
Matthias BUSSONNIER
bussonniermatthias at gmail.com
Mon Nov 19 16:13:15 EST 2012
Le 19 nov. 2012 à 17:50, Carl Smith a écrit :
>> I think by publishing javascript/json you could open a new window that point to another URL and pass it parameter.
>> That would be a start .
>> I'm don't know how your app works, if it is a different server or not…
>
> It's just a JS editor, so you'd ordinarily implement your own server
> and communication, normally using AJAX requests.
One dirty way would be to use the '%%file' magic to write on disk.
We could probably hook on user_expressions to get the file content.
(for now)
The other question is :
Do we want to modify file on server computer or on kernel computer (that can be different)
Kernel does IMHO make more sense.
--
Matthias
>
> I could have IPython start up a second server on the same machine, and
> then open a new tab, pointing it to the second server. This would be
> easy to do, security aside, but misses the opportunity to work towards
> a more elegant, general solution for all Notebook Panel Apps, which is
> what I'm currently calling them.
>
> One important thing to consider early on is how to create a panel app
> that can share a kernel with the Notebook. Some apps, like a shell,
> would need that.
>
> Cheers
>
> P.S. I drafted an IPEP for this, IPEP 7, updated the wiki and sent a
> message on both lists.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
More information about the IPython-dev
mailing list