AJAX
This Ajax course explains how to use Ajax (Asynchronous JavaScript and XML) to create interactive & dynamic web pages. After completing the course, the participant will be able to build web applications that do not require a page refresh. This class also teaches using Ajax and provides an opportunity to work with JSON and integrate jQuery, PHP with Ajax.
3 days - $1,895.00
Course taught by an expert Computer Coding Instructor.
Prerequisites:
Knowledge of advanced computer coding is essential.
Course Outline
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 XMLHttp Request 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