ajax python module??

M

Mark Engstrom

Does anyone have a recommendation on the best AJAX python module?


Thanks,

Mark
 
O

ookoi

Hi Mark,

Basically, all you needs is the CGI module to handle requests from
clients, print some xml or html in response, then handle them back in
your client code (javascript).

With these simple principles I made a small web apps to watch Apache
Logs, see: https://live.dbzteam.com/

If you want to read a comprehensible example or use a simple module,
look at the sajax module http://www.modernmethod.com/sajax/

Cheers,

Sébastien Martini
 
P

Peter Hansen

Diez said:
Mark Engstrom wrote:




If it is the best is obviously an arguable assertion - but I very much like
MochiKit from Bob Ippolito.

http://www.mochikit.org/

I heartily second the recommendation, but it's not what I'd call an
"AJAX python module", but rather a "pythonic Javascript module that can
do AJAX". Perhaps the OP was hoping for something on the server side
(but he should note that the server side of AJAX is pretty mundane, and
most any web framework should be suitable).

-Peter
 
Joined
Oct 1, 2008
Messages
1
Reaction score
0
yes - you want http://pyjamas.sourceforge.net it's a python-to-javascript compiler, combined with an AJAX library.
so you get the best of both worlds. you get to write your code in python, and it runs in every single major browser available. IE7, IE6, Opera, Safara, Netscape and Firefox are all supported. Even Konqueror works, sometimes, if you kick it hard enough.
if you find that you can't cope with the fact that you have to do your debugging in javascript, then you can run pyjamas-desktop:
http://pyjd.sourceforge.net
that will allow you to run the SAME APPLICATION - UNMODIFIED - as a desktop application. you'll get standard stack trace error messages and be able to do "print" to show debug output onto stdout.
yes, even SVG canvas is supported in pyjamas - see the addons gallery.
discussion at http://groups.google.com/group/pyjamas-dev
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top