Sorry to take so long to post back. I have been going to conferences and
haven't had much time to work on anything the past 2 weeks.
Jason Grout recommended that we use the widget/comm idea from ipython to
facilitate the communication between the front end and backend of the knot
editor. He said that what was done in the past for the graph editor was a
kludge (for non-native english speakers this is an expression for something
which is kind of hacked together). I don't know if this is the direction
that you would want to go? I could replicate the kludge idea or try this
new method using the ipython notebook interface (or maybe the qtconsole,
which I have not tried yet).
I have experimented some with the ipython notebook interface for sage
(sage -ipython notebook). I can load some javascript into an output frame
and get it to be evaluated, although I cannot as yet figure out how to sync
what is going on in the output frame with the python backend. (That would
be where the widget idea comes in I suppose.)
I have a question: My version of sage uses ipython 0.13, whereas ipython
is now up to version 2.0, I think. Does the current source for sage use any
version of ipython >= 1.0. There are no available examples that I could
find of the use of widgets in ipython ver. < 1.0, and the module structure
of ipython has changed from ver. < 1.0 to >= 1.0. The change in module
structure is making experimentation more difficult.
I have to be honest, I feel like a fish out of water dealing with this
part of the project. I can handle the algorithmic parts fine but this part
of dealing with the backend/frontend communication might turn out to be
pretty difficult. I have an associate/friend who is used to programming in
javascript (among other things), and he offered to give me some pointers
and provide a little help along the way. So I wouldn't totally be on my own.
Please let me know if there is still interest in this project going
forward.
--
You received this message because you are subscribed to the Google Groups
"sage-gsoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-gsoc.
For more options, visit https://groups.google.com/d/optout.