+ 1

What is ajax in angular js in script source, what it's work?

27th May 2021, 4:28 AM
Praveen Saini
Praveen Saini - avatar
2 Respuestas
+ 1
There was a time when every request made to server made the web page to refresh. Imagine going to YouTube and not able to see anything because of continuous page refreshing. AJAX helped us to go to next level in front end development. AJAX made the SPAs like Angular possible. It's just like "OK dude, make your server request I won't bother anyone else and once the response comes back we can do whatever we want with it" technical term for this is Asynchronous. In the start AJAX syntax was scary like this https://code.sololearn.com/W1CDs8hlEe9F/?ref=app But these days it's more simpler like this. https://code.sololearn.com/Ww8FVJQJ1ZjD/?ref=app
5th Sep 2021, 12:00 PM
Morpheus
Morpheus - avatar