Ajax: Requesting Data and Retrieving Responses

This course is included in our On-demand training solution.

Overview

Rather than a singular technology, Ajax, or Asynchronous JavaScript and XML, is a collection of technologies that enables web pages to make server requests without having to reload the page. You can use Ajax to create asynchronous web applications that provide a faster, more user-friendly experience. In this course, you will learn how to use the XMLHTTPRequest object to send data requests and retrieve data from the server in the form of text, XML, and JSON responses.

Target Audience

Developers who wish to learn Ajax scripting language to add seamless interactivity to their web applications

Prerequisites

None

Expected Duration

60 min.

Course Objectives

Course Introduction

Dynamically Changing Content in the Browser Window

  • dynamically change browser window contents using Ajax code
  • Creating the XMLHTTPRequest Object

  • create the Ajax XMLHTTPRequest object
  • Sending a Parameterized Query Via the GET Method

  • use the Ajax parameterized GET method to receive information from the server
  • Sending a Parameterized Query Via the POST Method

  • use the Ajax parameterized POST method to receive information from the server
  • Displaying a Text Response from the Server

  • use the Ajax reponseText property to display text response from the server
  • Using onreadystatechange to Monitor the Server

  • use the Ajax onreadystatechange event to monitor the server for a response
  • Receiving XML from the Server

  • create a script to use Ajax to convert console log results into an XML object
  • Parsing XML Received from the Server

  • create a script to use Ajax to parse XML data received by a browser
  • Displaying XML Received in a HTML Table

  • translate XML data received via Ajax directly into an HTML table
  • Styling XML Data Tree Information with XSLT

  • display XML data received via Ajax using XSLT
  • Using XSLT Elements to Display XML Tree Information

  • use XSLT elements to format and select XML tree information received from Ajax
  • Building an XML Server Response in PHP

  • use Ajax to build an XML server response in PHP
  • Working with a JSON Response from the Server

  • use the JSON protocol in an Ajax script
  • Sending a JSON Request to the Server

  • create a JSON request using JavaScript in Ajax
  • Building a JSON Server Response in PHP

  • use Ajax to create a JSON object
  • MONTHLY SUBSCRIPTION

    $129/month
     

    ANNUAL SUBSCRIPTION

    $1295/year

    Multi-license discounts available for Annual and Monthly subscriptions.