Skip to content
Permalink
Browse files
improved introduction
  • Loading branch information
aa7401 committed Oct 12, 2018
1 parent 4351391 commit cceb37cd5365335e4705ac67a763e519128dc13a
Showing 1 changed file with 5 additions and 8 deletions.
@@ -1,19 +1,16 @@


# Asynchronous Code

This week’s lab tasks will focus on how JavaScript is used to asynchronously get and set data on remote servers, often referred to as AJAX calls.
This lab tasks will focus on how JavaScript is used to asynchronously get and set data on remote servers, often referred to as AJAX calls. It also covers a range of different ways to make asynchronous calls. By completing this lab you will be able to write cleaner, more modular code.

Note that AJAX technically uses XML as the data format, but we will be using JSON which is easier to parse, and becoming the defacto standard for much data on the web. The principles of asynchronous communication and callback functions are effectively identical for XML and JSON though.

## Contents

This chapter covers a wide number of topics associated with running async code. The first 4 should be considered **essential** and the rest are topics that, whilst not essential to writing NodeJS code, will greatly improve your knowledge of how asyncronous code works and, should you choose to implement these, will lead to much cleaner code.

1. Async callbacks *
2. JSON data *
3. Modules and callbacks *
4. Nested callbacks *
1. Async callbacks
2. JSON data
3. Modules and callbacks
4. Nested callbacks
5. Generators
6. Promises
7. Async functions

0 comments on commit cceb37c

Please sign in to comment.