Jason wrote:

> > I really like the technique of using Jython in the client because its
> > like having a subset of SAGE on the client.  Users can easily create
> > GUI widgets with just a few lines of "SAGE" code.  Jython can be
> > included in an applet too.
>
> This is interesting.  Can you expand on how you see Jython being used in
> the client (or how you already are using it), with maybe some
> hypothetical examples of creating GUI widgets or other things?

After further research I discovered that a Jython Applet loaded from a
remote server is unable to execute code entered by the user because of
security restrictions.  I am going to have to study this issue
further.

As for examples of how to use GUI widgets in the client, the 3D Applet
demo I posted a little bit ago shows some of what I am thinking about.
 Perhaps the user wants a slider for changing the zoom level instead
of a drawn rectangle.  They could create a slider, hook it to the zoom
object, and add the slider to the GUI with a few lines of code.

Another applet I have been thinking about is a SAGE "dashboard" that
would show in realtime all the objects a user has created in the
current worksheet, all symbolic variables, the state of all executing
cells, etc.  The user could then add custom widgets and logic to this
applet to suit their needs.

Anyway, I think coming up with concrete examples will be easier after
the communications mechanism between applets and the SAGE server has
been determined.

Ted

--~--~---------~--~----~------------~-------~--~----~
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to