Is this similar to making it easy to post @interact demonstrations on webpages including a blog?
On Mon, Jan 19, 2009 at 11:39 PM, William Stein <wst...@gmail.com> wrote: > > On Mon, Jan 19, 2009 at 8:32 PM, Skylar <skylar.savel...@gmail.com> wrote: >> >> 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. > > If nothing else, it is a really good idea, and I think something like > it would be useful. Thanks for suggesting it. > > Just out of curiosity, what do you think of this: > > http://magma.maths.usyd.edu.au/calc/ > > It wrote it years ago (before Sage), but could do a Sage version that > would be included standard in sage. > > >> >> sos >> >> On Jan 19, 10:39 pm, William Stein <wst...@gmail.com> wrote: >>> On Mon, Jan 19, 2009 at 5:05 PM, Robert Bradshaw >>> >>> <rober...@math.washington.edu> 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 >> > >> > > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://wstein.org > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---