Web Development

Advanced JavaScript Programming

No Public Class Currently Scheduled

Contact our training team about upcoming dates or private team training.

Course Overview

In this Advanced JavaScript Programming training course, you will learn advanced JavaScript techniques that include working with the new ECMAScript 2015 (“ES6”) release. The course includes a thorough exploration of advanced objects, arrays, and functions; the XMLHttpRequest (Ajax) API; and working with JSON. Finally, you will learn to handle errors and exceptions and to use regular expressions in JavaScript.

Course Length

2 days

Learning Outcomes / Objectives

  1. Learn to recognize/handle scope, including ES6 techniques for controlling the scope of a variable
  2. Learn to use prototyping, ES6 classes, and advanced JavaScript objects like maps and sets
  3. Learn advanced techniques for working with functions, including default values and flexible arguments, closures, immediately-invoked function expressions (IIFEs), and recursion
  4. Learn to use advanced array methods and properties
  5. Learn to use the XMLHttpRequest API to make Ajax calls and techniques for dealing with the same-origin policy
  6. Learn to use the JSON data format in JavaScript
  7. Learn to use try/catch/finally for handling errors
  8. Learn to use regular expressions in JavaScript

Topic List

  1. Scope
    1. Scope in JavaScript
    2. The var Keyword
    3. Scope in Nested Functions
    4. The let Keyword
    5. Exercise: Scope
  2. Advanced Objects
    1. Object-Oriented Programming
    2. Prototyping
      1. Objects in JavaScript
      2. Prototyping in JavaScript
    3. Composing Prototypes
    4. Exercise: Prototyping
    5. ES6 Classes
    6. Static Methods
    7. Exercise: ES6 Classes & Static Methods
    8. Inheritance
    9. Maps
    10. Map vs Object?
    11. Sets
    12. Exercise: Guessing Game with Map and Set
  3. Objects as Namespaces
    1. Advanced Functions
    2. Function Declarations
    3. Function Expressions
    4. Default Values
    5. Flexible Arguments
    6. Exercise: Flexible Arguments
    7. Closures
    8. Exercise: Closures
    9. Immediately-Invoked Function Expressions (IIFEs)
    10. Callbacks
    11. Recursion
    12. Exercise: Recursion
  4. Advanced Arrays
    1. Arrays
    2. Arrays Methods
    3. Iterators and Arrow Functions
      1. Iterators
      2. Arrow Functions
    4. Static Array Methods
      1. Array.isArray()
      2. Array.from()
      3. Array.of()
    5. Array Prototype Methods
      1. Array.prototype.fill()
      2. Array.prototype.filter()
      3. Array.prototype.find()
      4. Array.prototype.forEach()
      5. Array.prototype.indexOf()
      6. Array.prototype.keys()
      7. Array.prototype.map()
      8. Array.prototype.reduce()
    6. Exercise: Find the Mode
  5. XHR
    1. XMLHttpRequest
    2. The XMLHttpRequest Object
      1. Handling the Response
    3. Node.js
      1. Installing Node.js
      2. Running Node.js
      3. A First Node.js Application and Server
    4. Using the XMLHttpRequest Object
    5. Exercise: Ajax using the POST method
    6. The Callback Function
    7. Exercise: Displaying and Updating Records
    8. Promises
    9. CORS/JSONP: Accessing Remote Sites
    10. Exercise: Retrieving Country Info from GeoNames via CORS
    11. JSONP
    12. Exercise: Retrieving State Names from Yahoo! with JSONP
    13. CORS vs. JSONP Differences
  6. JSON
    1. JSON
    2. Review of Object Literals
      1. Arrays
      2. Objects
      3. Arrays in Objects
      4. Objects in Arrays
    3. Back to JSON
      1. JSON Syntax
      2. JSON Parsers
    4. Exercise: Using JSON
  7. Errors and Exceptions
    1. Runtime Errors
      1. Completely unhandled errors
      2. Globally handled errors
      3. Structured Error Handling
      4. Throwing custom errors
    2. Nested Try/Catch
    3. Exercise: Try/Catch/Finally
  8. Regular Expressions
    1. Getting Started
      1. JavaScript’s Regular Expression Methods
      2. Flags
      3. String Methods
    2. Regular Expression Syntax
      1. Start and End ( ^ $ )
      2. Number of Occurrences ( ? + * {} )
      3. Common Characters ( . d D w W s S )
      4. Grouping ( [] )
      5. Negation ( ^ )
      6. Subpatterns ( () )
      7. Alternatives ( | )
      8. Escape Character ( )
    3. Backreferences
    4. Form Validation with Regular Expressions
    5. Exercise: Advanced Form Validation
    6. Cleaning Up Form Entries
    7. Exercise: Cleaning Up Form Entries

Course Level

Advanced

Scroll to Top