In week one we will discuss the following topics:
• Structure for a basic SPA (Single Page Application)
• XMLHttpRequests
• API calls
Here are resources that we like you to read as a preparation for the first lecture:
- Read about APIS: https://www.programmableweb.com/api-university/what-are-apis-and-how-do-they-work
- Traversy Media (YouTube, 18 mins): What Is A RESTful API? Explanation of REST & HTTP.
- Watch the Ajax Crash Course (45 mins) from Traversy Media.
- Making HTTP Requests in JavaScript
-
How to write clean code? Lessons learnt from “The Clean Code” — Robert C. Martin.
Note that this article includes some code examples written in Java, but the same principles can equally be applied to JavaScript.