Do the following readings:
Read the Node Beginner Book (in Public/+Courses/Olinjs16/
) up to page 58 (the section marked Handling file uploads — the methods used there are old and no longer relevant). This resource ties together a lot of what we covered in class 1 by implementing a basic web server in Node. You'll learn how Node handles browser requests — and how Node is unique — while flexing your newly acquired JavaScript muscle. You should follow along by writing and running the code examples given.
Read the Airbnb Javascript Style Guide. Try to incorporate these styles into your work in this class.
This is a fun, well-written article on how naming conventions affect the way we think and code: Execution in the Kingdom of Nouns.
When you're finished, fill out the Homework 2 submission survey.
- Read the Class 3 README. You will be learning about Express, a development framework that is often used together with Node. Follow along with the exercises in the Readme to create a "hello world" Express application. Make sure that you can access your application in a web browser and be ready to show it to the teaching team next class.
- Send an email to [email protected] with the subject line "Preclass 3" telling us about...
- Something in the reading you felt confident about and easily grasped
- Something in the reading you're confused about or want to know more about