Further to the day before yesterday’s Asynchronous Clientside Ideas Tutorial today we introduce …
- the talents Ajax (ie. Asynchronous JavaScript and XML) can introduce as a clientside Asynchronous tool … as another choice to …
- promise object methodologies
- fetch API methodologies
… as another clientside tool for your armoury of asynchronous processing credentials.
So feel free to (re-)try the changed second draft sleepjs.html Asynchronous Ideas web application’s execution run (also below), helped out by our changed jssleep.js external Javascript helper.
Did you know?
Today’s work made Fetch our preferred third column choice rather than a second Ajax incarnation idea. Why? Well, we found there were issues when two or more Ajax object sets were existent at any one point in time. Fetch, thankfully, can live happily and concurrently with an existent Ajax object set in play.
Previous relevant Asynchronous Clientside Ideas Tutorial is shown below.
The recent Ajax (clientside) calling (serverside) PHP work of Shower Song Sharing Tutorial reminded us of …
- the talents Ajax (ie. Asynchronous JavaScript and XML) can introduce as a clientside Asynchronous tool … as another choice to …
- promise object methodologies
And so we were saved from the tautological blunder of our “first thought of” today’s blog posting title being “Asynchronous Ajax Clientside Ideas Tutorial” … though, into the future, who knows … you could have two (or even more, come to think of it) cleaners promising to use Ajax concurrently while working on their “for loop” drills?! Hmmmmmm. Watcha doin’ in 2029?
With this in mind we wanted to “compare the pair” with a triple pike, whereby we wrote a proof of concept …
… offering three modes of asynchronous usage mode scenarios, they being …
| Promise | Ajax (processing then delay) | Ajax (working within delay) |
|---|
… that if you click that top button can be set off (almost) synchronously, in their asynchronous pursuits, that are logged in a rudimentary way within the first draft sleepjs.html Asynchronous Ideas web application’s execution run, helped out by our jssleep.js external Javascript helper.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.



