Well, I am certainly no javascript master. I think maybe the best that I can do is to understand the simple server and build from there.
Maybe I can do it in some number of months half-time. It would be a useful adaptation to introduce kids to sage that don't necessarily need to be managing whole worksheets much less whole notebooks. sos On Jan 19, 10:39 pm, William Stein <[email protected]> wrote: > On Mon, Jan 19, 2009 at 5:05 PM, Robert Bradshaw > > <[email protected]> wrote: > > > On Jan 19, 2009, at 4:39 PM, Skylar wrote: > > >> I was rather hoping to keep all of the great js/css and everything > >> having to do with the cell like the tab completion and the way that > >> the input and output are handled - all are fantastic in the notebook. > >> I was just hoping that I could send a single cell the way that it is > >> displayed and functioning in the full notebook to an address/port. I > >> am not sure that using the simple server would be the best way to > >> accomplish this. > > > You're right--it would probably would be easier to try and modify the > > notebook to get this effect. The simple API was more designed to be a > > "back end" interface. > > You will probably have to copy out a bunch of javascript from > > SAGE_ROOT/devel/sage/sage/server/notebook/js.py > > in some clever way into your webpage. Then probably use > the simple API as the backend to actually do the work. > > To do this right would probably require some serious refactoring > of js.py, and at least understanding that javascript code. I'm sure > it could be done and that I could do it. I would estimate it would > take me a week of fulltime work to do this right. (I'm probably not > going to do this; I'm just sharing some thoughts.) > > -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
