alex clemesha wrote: > > > Just curious: does Knoboo implement anything like the new @interact > functionality? That is a big plus for me in the current Sage notebook. > > I agree that the @interact is awesome, but it is pretty badly > coupled to the other pieces of the Sage notebook and HTML. > This is actually a big issue which materializes when others try > to add new functionality and extend existing functionality. > It's an issue of markup (HTML) vs data (plot points) basically. > > I've done some work related to this using the "flot" > (http://code.google.com/p/flot/) > javascript library (a jquery plugin) that does plotting and allows a > great deal > of interactivity and extendability because you only pass it raw data > (JSON objects). > > Here is an example of it in action, which dynamically redraws the > plot after each interaction (it gets raw plot point data with Ajax calls): > http://alex.knoboo.com/earthquake/ > (the example is an earthquake event explorer prototype thing I did at work) > > I do want to say again that the @interact functionality is awesome, > and we hope to have something similar, but nothing exists now. >
I look forward to seeing your interact design. The current @interact is the result of several iterations, and I think it's fairly straightforward to add new widgets and things (I know; I've done it). Of course, it does have its weak points as you point out, but they relate more to the design of having all computation (and drawing!) done in the Sage backend and almost no (mathematical) intelligence in the notebook. One notable exception to this is JMOL. Also, as you point out, the method of communicating between the server and client could be developed more. Robert Bradshaw's recent proposal of an HTTP communication protocol is a step in that direction. That said, I am *very* impressed with your cell interface. It looks like a very nice design. I am also impressed with the general visual feel of knoboo. I'm glad that you've thought a lot about client-server communication. You're right that the current Sage notebook is very tightly coupled with Sage, which makes it hard to spin off to other developers and develop outside interest in the notebook. It also influences the design quite a bit. I'm curious if you have any google summer of code projects going (maybe under the Python projects?). I hope you guys succeed; you have some very nice work already. It would be very interesting for us to see an interface to Sage with Knoboo. Thanks, Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---