This was just a passing tweet but I want to give it another look…
Whaddya think— Ste Griffiths (@SteGriff) July 6, 2015
What I’m saying about AJAX is true as far as I know. This is the loose term for the system used any time you’re on a web page and it updates itself without you having to refresh. When you’re on Twitter or Facebook and it says more posts are available, or anything with a live stream of news, that’s AJAX.
My next point is that this isn’t always Asynchronous. Async means that other things can continue to happen in the background while you wait for this data. Then when it comes back, a piece of code known as a “callback” handles the message and applies it to the page. But sometimes you want to make absolutely sure that some request gets fielded before you carry on. That’s synchronous (N.b. synchronous requests considered harmful). In .NET, we have a term for this which is
awaitable, which handily begins with an ‘A’. If something is Awaitable you can either let it run asynchronously, or you can await the return (synchronously).
Therefore, I propose that a fresh new name for AJAX would be:
ASAP - Awaitable Scripts and Partials
Tweet @SteGriff if you want to discuss/argue :)