-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path139.js
More file actions
24 lines (16 loc) · 669 Bytes
/
Copy path139.js
File metadata and controls
24 lines (16 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// BASIC THEORY
// AJAX : asynchronous javascript and XML
// HTTP request
// is a set of "web development techniques"
// using many web technologies on the "client-side "
// to create asynchronous web applications.
// With Ajax, web applications can send and retrieve
// data from a server asynchronously (in the background)
// without interfering with the display and
// behaviour of the existing page
// We don't use data in XML format anymore.
// we use JSON now.
// we have 3 most common ways to create and send request to server
// 1.) xmlHTTPRequest (old way of doing)
// 2.) fetch API (new way of doing)
// 3.) axios (this is third party library)