filmov
tv
Introduction to AJAX with JavaScript: Part 1 What is Asynchronous Communication? (with code!)

Показать описание
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.
Please feel free to fork and use however you like!
This introduction is the first of a two part series that will teach you what 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.
AJAX uses:
- Javascript (for altering the page)
- Create a Ajax object
- Making a request
- Handling the server response
- XML, JSON or other markup/notation for information exchange
- Transport of messages (request and response)
- Server side (Java, PHP, .net, Node etc)
- Receives the message from the client, does something (usually lookup / save information), sends the response.
Please feel free to fork and use however you like!
This introduction is the first of a two part series that will teach you what 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.
AJAX uses:
- Javascript (for altering the page)
- Create a Ajax object
- Making a request
- Handling the server response
- XML, JSON or other markup/notation for information exchange
- Transport of messages (request and response)
- Server side (Java, PHP, .net, Node etc)
- Receives the message from the client, does something (usually lookup / save information), sends the response.
Комментарии