[BangPypers] a dynamic status display thing...

Vishal vsapre80 at gmail.com
Thu Aug 20 18:03:04 CEST 2009


Yeah I was thinking the same. Since I know that the server side process will
take a certain time to complete, a javascript function to 'POST' a request
for data after that much time should be good enough.
I was wondering if there are any inherent time lags when using
xmlhttprequest, since its asynchronous, that you know of or any caveats one
should keep in mind.
By the way...the server and the client are sitting very very close to each
other :))

Thanks and best regards,
Vishal Sapre

On Thu, Aug 20, 2009 at 7:21 PM, Noufal Ibrahim <noufal at gmail.com> wrote:

> On Thu, Aug 20, 2009 at 7:10 PM, Navin Kabra<navin.kabra at gmail.com> wrote:
> [..]
> > If I understand right, you want to dynamically create an animation that
> > shows what's going on with your process at runtime.
> >
> > The Python Imaging Library will allow you to create animated gifs - like
> the
> > Quicksort one...
>
>
> Two comments.
> 0. I haven't touched PIL lately but the last time I checked, it's
> support for animated GIFs was somewhere between non-existent and
> broken.
> 1. If you use a PIL approach, you have to run your whole process, keep
> track of things and then generate an animated GIF which you'll put out
> onto the webserver. This is not particularly useful since the work is
> already done. It would be better to have Ajax based setup  which will
> refresh regularly or some server side push mechanism.
>
>
>
> --
> ~noufal
> http://nibrahim.net.in
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
Thanks and best regards,
Vishal Sapre

---

"So say...Day by day, in every way, I am getting better, better and better
!!!"
"A Strong and Positive attitude creates more miracles than anything else.
Because...Life is 10% how you make it, and 90% how you take it"
"Diamond is another piece of coal that did well under pressure”
"Happiness keeps u Sweet, Trials keep u Strong,
Sorrow keeps u Human, Failure Keeps u Humble,
Success keeps u Glowing, But only God Keeps u Going.....Keep Going....."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20090820/449a599e/attachment.htm>


More information about the BangPypers mailing list