Mark Somerville
2006-Dec-27 09:54 UTC
[Backgroundrb-devel] Progress update for non-JavaScript users
Hi there, I''m running BackgrounDRb for importing some large files into our system. It''s very nice and we''re able to use a simple JavaScript call to periodically provide progress messages to the user and, ultimately, success or failure messages. How are people relaying progress and/or results messages back to users who don''t have JavaScript enabled? Pretty much the only solution I can think of is to, on each request, check if the current user has an import going on and, if so, fetch the status and display it somewhere. Is this how most people are doing it? Or am I missing something obvious? Any thoughts appreciated. Thanks a lot, Mark
P. Mark Anderson
2006-Dec-27 20:01 UTC
[Backgroundrb-devel] Progress update for non-JavaScript users
This is tangential to the topic, but under what circumstances are we to bother with the few Javascript impaired? More on topic, what happens when an iframe has a <meta http- equiv="refresh" content="5">? pmark On Dec 27, 2006, at 5:54 AM, Mark Somerville wrote:> Hi there, > > I''m running BackgrounDRb for importing some large files into our > system. It''s > very nice and we''re able to use a simple JavaScript call to > periodically > provide progress messages to the user and, ultimately, success or > failure > messages. > > How are people relaying progress and/or results messages back to > users who > don''t have JavaScript enabled? > > Pretty much the only solution I can think of is to, on each > request, check if > the current user has an import going on and, if so, fetch the > status and > display it somewhere. Is this how most people are doing it? Or am I > missing > something obvious? Any thoughts appreciated. > > Thanks a lot, > > Mark > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel
Eden Li
2006-Dec-28 00:04 UTC
[Backgroundrb-devel] Progress update for non-JavaScript users
You''ll probably never run into a Javascript-impaired browser, but you''ll find that a lot of your users (especially those who are security-minded) will be running Javascript-DISabled browsers. Note the popularity of the Firefox plugin noscript: http://www.noscript.net/whats On 12/27/06, P. Mark Anderson <mark at martianrover.com> wrote:> This is tangential to the topic, but under what circumstances are we > to bother with the few Javascript impaired? > > More on topic, what happens when an iframe has a <meta http- > equiv="refresh" content="5">? > > pmark > > > > > > > On Dec 27, 2006, at 5:54 AM, Mark Somerville wrote: > > > Hi there, > > > > I''m running BackgrounDRb for importing some large files into our > > system. It''s > > very nice and we''re able to use a simple JavaScript call to > > periodically > > provide progress messages to the user and, ultimately, success or > > failure > > messages. > > > > How are people relaying progress and/or results messages back to > > users who > > don''t have JavaScript enabled? > > > > Pretty much the only solution I can think of is to, on each > > request, check if > > the current user has an import going on and, if so, fetch the > > status and > > display it somewhere. Is this how most people are doing it? Or am I > > missing > > something obvious? Any thoughts appreciated. > > > > Thanks a lot, > > > > Mark > > _______________________________________________ > > Backgroundrb-devel mailing list > > Backgroundrb-devel at rubyforge.org > > http://rubyforge.org/mailman/listinfo/backgroundrb-devel > > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel >