471,873 Members | 985 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,873 software developers and data experts.

Simplest way to do Python/Ajax with server and client on same machine?

I'm doing some work with a Python program that works hand-in-hand with
the DOM on a local client (processing DOM events, issuing DOM
modification commands, etc.) I'm currently using cherrypy as the Python
server for this communication, and simple AJAX on the client browser
end. This works just fine, I'm simply wondering if there is a better
(even easier) way to do this, if there are libraries I'm not aware of
that I should be, etc.

Thanks,
Ken
Dec 20 '06 #1
2 1901
Kenneth McDonald wrote:
I'm doing some work with a Python program that works hand-in-hand with
the DOM on a local client (processing DOM events, issuing DOM
modification commands, etc.) I'm currently using cherrypy as the Python
server for this communication, and simple AJAX on the client browser
end. This works just fine, I'm simply wondering if there is a better
(even easier) way to do this, if there are libraries I'm not aware of
that I should be, etc.

Thanks,
Ken
You can try looking into PyJamas its a Python version of Google Web
Toolkit, offers a way to create AJAX apps using Python code.

Hope this helps.

Adonis
Dec 20 '06 #2
Adonis Vargas <ad****@REMOVETHISearthlink.netwrites:
Kenneth McDonald wrote:
I'm doing some work with a Python program that works hand-in-hand
with the DOM on a local client (processing DOM events, issuing DOM
modification commands, etc.) I'm currently using cherrypy as the
Python server for this communication, and simple AJAX on the client
browser end. This works just fine, I'm simply wondering if there is
a better (even easier) way to do this, if there are libraries I'm
not aware of that I should be, etc.
Thanks,
Ken

You can try looking into PyJamas its a Python version of Google Web
Toolkit, offers a way to create AJAX apps using Python code.
Have a look at TurboGears too.

Both are still pretty new. Pyjamas is very new, so I'd certainly
think twice about using it for production work right now.
John
Dec 29 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Ajay | last post: by
29 posts views Thread by Frank Millman | last post: by
31 posts views Thread by Tony | last post: by
28 posts views Thread by H J van Rooyen | last post: by
2 posts views Thread by dmagliola | last post: by
6 posts views Thread by Bart Van der Donck | last post: by
7 posts views Thread by =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post: by
37 posts views Thread by Michael Palmer | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.