Making Synchronous Asynchronous Requests Part 1
I dont have the answer yet, but when I do I will post a nice tutorial.
I have a list of form input objects all stacked up. When a button is clicked, each one needs to be acted upon(sent to a PHP function and a command line function executed). A short response is returned to the browser which indicates whether or not the process was successful.
I could simply send all of the form values at once, it would be easier, faster and require less code. But that would lack the "synchronous" effect, would instead be almost instant, and would probably be detrimental to user experience. The operations being performed are important and the user needs to feel like each and every one is being carefully, independantly, considered.
0 Comments