Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.04 KB

File metadata and controls

47 lines (29 loc) · 1.04 KB

Lesson Plan JavaScript3 Week 1

Agenda

The purpose of this class is to introduce to the student:

  • What are APIs and how to interact with them
  • What is AJAX and how to apply it (XMLHttpRequest)
  • How to use libraries (axios)

Core concepts

FIRST HALF (12.00 - 13.30)

  1. What are APIs and how to interact with them

Notes:

  • Part of an application that can be communicated with from an outside source
  • Connect to it using "endpoints"
  • Mostly used to request data from some service

Show examples

  1. What is AJAX and how to apply it (XMLHttpRequest)

Notes:

  • It's a technique, not a technology
  • AJAX stands for Asynchronous JavaScript and XML
  • Nowadays we use JSON instead of XML
  • Fetch data without reloading the page

Do exercise

SECOND HALF (14.00 - 16.00)

  1. How to use libraries (axios)

Notes:

  • A library is a code solution a developer (or a team) has written to a common problem
  • Usually open-source
  • Helps to solve a problem within an application
  • Read the documentation on how to use it

Do Exercise