On 9/14/07, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > > > > > I just posted a cleaned-up example of AJAX-twisted.web2-SAGE here: > > > > http://sage.math.washington.edu/home/agc/simple_ajax_twisted_sage.py > > > > just getting your hands dirty by messing with examples is best, then > > go to the books / google and learn about the details of the code. > > > > The script above pretty much gives you the simplest possible example > > of how to combine the technologies that make up the SAGE notebook. > > There is a tiny README at the top of the file. > > > Does anyone of you tried AJAX from pypy? > > http://play1.codespeak.net/ > > You can write all of your code in Python (resp RPython) and you don't > have to mess up with javascript. Some of the demos look cool, but I > haven't seen much activity on pypy since March, I hope it's not dead.
I have not seen this before, but from a quick glance is looks like it is like GWT (Google web toolkit), where you write code in Java and it converts it to Javascript. I'm slightly dubious that that is a good way of going about producing Javascript ... but who knows. Instead I think it is much better to use a good javascript library, like the excellent Mochikit library (mochikit.com). Once you have sufficient understanding of how to produce AJAX apps, then you begin to realize the pain (DOM and Event issues, etc) of making those apps work in all the main browsers ... this is where a javascript library comes in. The example I posted above is just for getting your head around what is means to do 'AJAX'. (with twisted.web2 and SAGE thrown in for good measure ;) Alex Ondrej > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] 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/ -~----------~----~----~----~------~----~------~--~---
