views:

33

answers:

1

Is it OK to use threading.sleep in an intranet web application to display AJAX loading (in production environment)? Off course, the application works fine without it but all works too quick for the end user or even a developer to notice any difference.

What is the recommended approach ?

+1  A: 

Just read this thread: I am amazed: you want an application to fetch data slower? That sounds really strange to me. You should try to make it clear to the user that the new data is loaded. You can use an animation or something like a highlight color for new items. Maybe a 'new' icon?

Imagine that the servers are running slow deu to some errors. Than the user still has to wait an extra second to see the data. Just something to think about.

VeeWee
Since it is operating on intranet, all progress bars are merely just a flicker, which is more annoying to the users.
Popo
So either we remove them or show them only after a certain period of time is passed.
Popo