Hi all,

The pypy project has a js backend that is able to generate js for ajax
pages from python code. There are other attempts with the same goal
(writing python only and generating js from that), pyjamas come to
mind, but I found that the pypy way is the most promising one.
Although js backend is kind of experimental still it is very usable,
at least I'm using it in real code. Basically you declare which
methods/functions are for the server (they will stay python) and which
ones are for the client (they will be translated to js) and the
communication between the two (the ajax stuff) is generated as well.

For an introduction see http://codespeak.net/pypy/dist/pypy/doc/js/using.html

There are/were attempts to integrate mochikit to it as well, although
calling external functions (such as from mochikit) are painless even
without any "official" integration. Basically you can use any js
library with minimal effort.

So here is the question: are there plans for integrating the js
backend of pypy into tg? Would be very useful and would probably boost
tg's standing among the various competing web frameworks as well.

Daniel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to