Develop Intelligence
JavaScript Data, Ajax, and REST
Learn about the ways in which data is loaded in a web browser.

The JavaScript Data, Ajax, and REST training course explores the ways in which data is loaded in a web browser.

The JavaScript Data, Ajax, and REST course begins with a review of Ajax and the browser’s Ajax objects. Next, the course examines REST architecture and the ways in which RESTful data can be loaded through various JavaScript Frameworks, followed by explanations of how browsers handle and transfer files to servers.

The JavaScript Data, Ajax and REST course concludes with exploration into how to construct a simple RESTful API using Node js.

After this course, you will be able to:

Upon completion of this course, you should be able to:

  • Understand How Ajax Works in the Browser
  • Understand CORS
  • Understand the REST Architecture
  • Send and Load Data with jQuery
  • Load Restful Model with Backbone
  • Upload a File with jQuery
  • Create a Simple REST API with Node js and Express

This course will be delivered in 4 Days

DI will work with you and your team to define the most appropriate delivery structure, schedule and dates. Structure, schedule and dates will be determined by project schedule, team availability and classroom availability. And of course, it will also be determined by DI’s instructor availability.

In the JavaScript Data, Ajax, and REST training course you’ll learn:

  • Ajax Overview
    • History
    • How Ajax Works
    • Limitations of Ajax
  • The XmlHttpRequest Object
    • Loading Data with Pure JavaScript
    • The Ready State
    • Handling Errors
    • Introducing CORS
  • Loading Data with jQuery
    • The $.ajax() Method
    • The Done Method
    • The fail Method
    • The Always Method
  • Browser Data Types
    • Loading Text Data
    • Loading HTML
    • Loading Scripts
  • Loading and Parsing XML
    • Loading XML
    • Parsing Loaded XML
    • Parsing XML as JSON
  • Working with JSON
    • Building JSON Models and Collections
    • Formatting JSON
    • Stringify and Parse JSON
  • Loading JSONP
    • What is JSONP?
    • Looking at JSONP Enabled APIS
    • Using JSONP with jQuery
  • REST Architecture
    • What is REST?
    • How to Implement a REST Architecture
  • URL Routing and REST
    • RESTful URLs
    • Creating Routes
    • GET, POST, PUT, DELETE
  • Response Codes
    • Understanding Response Codes
    • Loading Data Based on Response Code
    • Successful Responses
    • Error Responses
  • CORS – Cross Origin Resource Sharing
    • What is CORS?
    • How to Implement CORS
    • How to Check for CORS
    • Loading CORS Data
  • Data Models and Views
    • MV* Design Patterns
    • MV* Technologies
  • Introduction to Backbone
    • Routes
    • Models and Collections
    • Views
  • Loading Data with Backbone
    • Fetching Data
    • Updating Models and Collections
    • Removing Data
  • Polling and Long Polling
    • Implementing Poling
    • Implementing Long Polling
  • Synchronizing Data
    • Storing Last Modified Records
    • Checking for 304 Responses
    • Synchronizing Data with the Server
  • Introducing Web Sockets
    • A Look at Types of Web Socket Applications
    • Connecting to a Web Socket
    • Sending Data to a Web Socket
    • Receiving Data from a Web Socket
    • Disconnecting from a Web Socket
  • Uploading a File with jQuery
    • Preparing Your Form for a File Upload
    • Passing the File to the server
  • Reporting on Upload Progress
    • Getting the File Upload Progress
    • Reporting Progress to the User
    • Creating a Progress Bar
  • The Drag and Drop API
    • Drag and Drop Files into the Server
    • Using Image Data URI
    • Dropping Multiple Files
  • Creating REST API with Node.js and Express
    • Creating a Simple Node and Express API
    • Building the Model
    • Adding the Routes
    • Adding CORS
    • Testing the API
    • Securing the API

Call us at (877) 629-5631