4 ms·
AJAX? Not having to render and reload an entire page every time something changes or a request is made is actually quite useful. Load balancing is one of the r
by krapp 12y ago
AJAX?
Not having to render and reload an entire page every time something changes or a request is made is actually quite useful. Load balancing is one of the reasons js-based templates are so popular.
Also I believe there are aspects of cross-browser compatibility related to mobile design and responsive design which depend on javascript, though I may be mostly wrong.
- aaaaaaaaaaa1234 12y agoYes, AJAX does require javascript, but the features provided by AJAX can also be provided by a plain form. You click the "submit" button, the javascript intercepts it, it launches the AJAX server request, and it writes the result onto the page. Without javascript, you click submit, it goes back to the server, and the server returns a page with the result.
- krapp 12y agoYes, but the usefulness i'm talking about is being able to get a response without re-rendering and fetching the entire page. If the difference between the two is just a small amount of text then doing it asynchronously is faster and more efficient. Although, if you're just dealing with purely static html pages then I would agree AJAX is pointless. But not everything useful about javascript has to be useful just to the end user.