Welcome Guest, Not a member yet? Register   Sign In
Asyncronous work
#2

Generally, if I am calling an API that may take some time to finish and needs to change based on the user, I prefer to use client-side JavaScript to call the API and/or update the page with the data returned from that API. If it's really going to take a while, you can always display cached data and/or a loading graphic for that portion of the page.
Reply


Messages In This Thread
Asyncronous work - by albertleao - 05-28-2015, 01:04 PM
RE: Asyncronous work - by mwhitney - 05-28-2015, 01:58 PM
RE: Asyncronous work - by CroNiX - 05-28-2015, 02:08 PM
RE: Asyncronous work - by no1youknowz - 05-31-2015, 02:34 PM
RE: Asyncronous work - by albertleao - 06-02-2015, 08:29 AM
RE: Asyncronous work - by no1youknowz - 06-02-2015, 08:51 AM
RE: Asyncronous work - by ivantcholakov - 05-31-2015, 02:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB