try to avoid blocking the user from doing stuff. (use async) if the process takes time show a loading for that action but don't block the ui that way the user does not get interrupted and he wont care much about the time.
On Jul 22, 2011, at 7:00 PM, Connor Montgomery wrote: > Hey all, > > Long-time reader, but this is my first time submitting. Anyways - > quick question: > > What's the best way to handle (like, step by step process) something > similar to updating a facebook status in a web-app? By that I mean - > if I have an input box that gets submitted via AJAX, should I make it > look like the action happened immediately to the user, so the UI is > quick and responsive (working with a rails app on a dev environment > that's pretty slow right now), then process all of the backend stuff > after that has happened, or do I show an ajax-loader thing and make > the user wait? I think the obvious answer is the first one - I just > wanted some people who have been doing this longer than I have's > opinion, and also some explanation, if you don't mind? > > Best, > Connor Montgomery > @c_t_montgomery > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
