By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,818 Members | 1,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,818 IT Pros & Developers. It's quick & easy.

progress indicator in a mod_python script

P: n/a
Hi, I have a web application built using mod_python.Currently it
behaves like a standard CGI - gets data from a form, performs a query
on a backend database and presents a HTML page.

However the query can sometimes take a bit of time and I'd like to
show the user some form of indeterminate progress indicator (spinning
dashes etc). My searching seems to indicate that this is based on some
form of asynchronous calls (AJAX) and I'm not sure how I can achieve
this effect in my mod_python app.

Any pointers to achieve this would be very appreciated.

Thanks,

May 17 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Rajarshi wrote:
Hi, I have a web application built using mod_python.Currently it
behaves like a standard CGI - gets data from a form, performs a query
on a backend database and presents a HTML page.

However the query can sometimes take a bit of time and I'd like to
show the user some form of indeterminate progress indicator (spinning
dashes etc). My searching seems to indicate that this is based on some
form of asynchronous calls (AJAX) and I'm not sure how I can achieve
this effect in my mod_python app.

Any pointers to achieve this would be very appreciated.

Thanks,
If you want "real" progress than you must do it with some asynchronous
communications via XMLRPC or sockets. You can "simulate" progress by
doing a little client-side javascript and include a progressive GIF.
There are a bunch of them available here:

http://www.ajaxload.info/

-Larry
May 18 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.