Page loader progress bar

Hi,

I’d like to make search form with some kind of “progress bar” - user
posts input, and AJAX overlay shows current progress (only step is
needed like 20%)

Do you have any suggestions how to achieve this effect?

On 26 Aug 2009, at 12:14, Paweł K wrote:

I’d like to make search form with some kind of “progress bar” - user
posts input, and AJAX overlay shows current progress (only step is
needed like 20%)

Do you have any suggestions how to achieve this effect?

On the serverside: background process that can return progress
feedback (you’ll need to implement this yourself, and your search
engine will have to be able to return progress too), pass the search
task to the background processor

On the clientside:

  • PeriodicalUpdater/Executer
  • Comet
  • Juggernaut

Unless you are talking about really long request/response cycles for
your searches and you know that the time it takes them to complete is
not caused by bad indexing/optimizing, I really don’t see why you
would need this. We handle a fair deal of data and our searches take
fractions of a second, no matter how complex the query might be (most
of the time, Solr handles the searches anyway).

Best regards

Peter De Berdt

I need to download and parse data from other sites, so the whole
process could take 15-100 seconds, that’s why I’d like to at least
show “I’m doing this and this” at the moment :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs