3 ms·
From what I recall AJAX wasn't for making things faster or for scaling like other siblings posts describe. How I remember it, it was created for user experien
by foxhop 9y ago
From what I recall AJAX wasn't for making things faster or for scaling like other siblings posts describe.
How I remember it, it was created for user experience reason. Not having to submit a form and refresh the entire page and cause the page to bounce back to the top of the page, etc.
AJAX (at least when I learned and implemented it) was for updating the user about an action they performed without refreshing the entire universe in front of their eyes, only updating the contents of a div or something else.
The whole web app as a javascript app.js blob idea took the AJAX idea to an extreme. In this extreme it often does slow down page load speeds and negatively effect the user experience when Javascript doesn't work, for whatever reason.