---------- Forwarded message ---------- From: Nathan Carter <nathancart...@gmail.com> Date: Fri, Jan 8, 2010 at 10:37 AM Subject: Re: [sage-devel] Ideas about improving sage desktop app To: andy.somo...@gmail.com Cc: William Stein <wst...@gmail.com>
Dear Andy, I spoke with William about a similar plan at a recent Sage Days. I am working on a project that does something similar to this but not related to Sage (http://lurch.sourceforge.net). Will you by an chance be at the upcoming Joint Math Meetings in San Francisco? We could perhaps have a chat about this. If not, we can talk it out on email. Although I don't have time to contribute programming efforts to Sage right now, I'm interested in this issue and would enjoy the conversation, and if I can be of any use in a high-level capacity, even just as a sounding board. William, thank you for letting me know about Andy's ideas. Nathan On Jan 8, 2010, at 12:42 PM, William Stein wrote: > Do you have any thoughts about this guy's proposal? It reminds me a > bit of what you're doing... > > ---------- Forwarded message ---------- > From: Andy Somogyi <andy.somo...@gmail.com> > Date: Fri, Jan 8, 2010 at 9:32 AM > Subject: [sage-devel] Ideas about improving sage desktop app > To: sage-devel@googlegroups.com > > > Hello > > I'm interested in improving the sage desktop app, in general. > > I'm thinking about a creating front end that feels similar to > Mathematica. This can be accomplished with a webkit based application. > This approach can completely eliminate the need for a web server, and > allow python direct access to the html DOM, and is cross platform, and > yet looks and feels native on each platform, with little work. > > HTML 5 included some very useful elements such as the canvas tag, and > I see it as the perfect way of generating interactive live documents. > Basically, the all of the UI would be displayed with HTML / DOM, and > each UI event would directly call python functions. Essentially, have > a <script> tag that hosts python instead of Javascript. Note, this is > exactly what the Appcelerator project does. > > Webkit also now has the O3D 3D canvas / scene graph from google. > > With some hacking, it should also be possible to directly embed an > mplotlib element in a html / webkit document. > > There are a couple approaches to allow python direct access to the > HTML DOM, 1: webkit has a fairly standard way of adding language > bindings, essentially, there are a set of idl files that are > processed, and a binding generated, currently these exist for jscript > (both classic and V8), ActiveX / COM, gdom, and Objective C. It is > possible to extend this to also include direct python binding. 2: use > a middle layer, like Appcelerator, (which is a webkit based way to > create desktop applications). > > Another advantage of drawing to the canvas tag api is it directly > supports saving as pdf, thus allowing for publication quality > graphics. > > any thoughts? > > > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > > > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://wstein.org -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org
-- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org