AJAX and JavaScript: Part 2 Fetch() API and Promises! Complete guide (with code!)
HTML-код
- Опубликовано: 10 сен 2024
- In part 2 of our complete Ajax and JavaScript guide we will take a detailed look at how you can use the Fetch() API and Promises to create modern asynchronous web applications the modern way!
Follow along with the following code example: github.com/Mar...
Please feel free to fork and use however you like!
AJAX (Asynchronous JavaScript and XML) is an technique that combines a set of known technologies in order to create faster and more user friendly web pages. It provides the ability to update small parts of your web application without having to reload the entire page. It is mechanism that allows web pages to feel and act like applications.
The 1st video in this series, Introduction to Ajax and JavaScript: What is Asynchronous Communication can be found here: • Introduction to AJAX w...
It covers asynchronous communication is, why we would want to use it, and a bit of background on the history. We will look at the original way that AJAX worked using the XMLHttpRequest object and explore the process through example. In the second video in the series we will see how it has evolved and apply the most modern version, the JavaScript fetch() API and Promises.