What Is AJAX ?

AJAX stands for Asynchronous JavaScript and XML. AJAX is a new technique for creating better, faster, and more interactive web applications with the help of XML, HTML, CSS, and Java Script.

Ajax uses XHTML for content, CSS for presentation, along with Document Object Model and JavaScript for dynamic content display.

Conventional web applications transmit information to and from the sever using synchronous requests. It means you fill out a form, hit submit, and get directed to a new page with new information from the server.

With AJAX, when you hit submit, JavaScript will make a request to the server, interpret the results, and update the current screen. In the purest sense, the user would never know that anything was even transmitted to the server. 

XML is commonly used as the format for receiving server data, although any format, including plain text, can be used.
AJAX is a web browser technology independent of web server software


AJAX Course Content

Course Duration 20 Days Daily 1:30 Min Monday to Friday Sessions

Introduction to Ajax

  • What is Ajax?
  • What can you do with Ajax?
  • Ajax and Web 2.0
  • Ajax Basics
  • Asynchronous requests to consume services or APIs
  • Asynchronous Cross-Origin requests (CORS)

The Document Object Model (DOM)

  • Understanding the DOM
  • Modifying the tree and injecting new content

Introduction to Promises

  • What is a Promise
  • Working with Promises
  • Creating and handling Promises

HTML Template Tag

  • Working with Template tags
  • Template tag features
  • Template content cloning 
  • Manipulating template content and injecting new nodes

Javascript Object Notation (JSON)

  • Introduction to JSON
  • JSON Concepts
  • converting from and to JSON format
  • JSON vs. XML

The XMLHttpRequest Object

  • Overview
  • Methods
  • Properties
  • Interaction
  • Handling the response

Sending requests and handling responses with XHR

  • Requests to text documents 
  • Requests to XML sources
  • Requests to JSON sources
  • GET and POST requests to PHP scripts

Ajax with jQuery

  • Overview
  • $.ajax() method and settings
  • $.params() method
  • jQuery and requests to JSON, XML, PHP sources
  • jQuery and Template Tag
  • Working with $.ajax() and promises

Ajax with Fetch API

  • Fetch API intro
  • Handling Fetch requests
  • Fetch and Promises
  • Fetch and JSON

Ajax with Axios library

  • Axios overview
  • Getting Axios
  • Creating and handling requests with Axios
  • Axios and promises

Learn More Courses