WebFund 2013F Midterm Review

From Soma-notes
Jump to navigation Jump to search

Audio from the lecture given on October 16, 2013 is available here.

Note that Assignment 2 is now due on October 17 (Thursday) by 4:05 PM.

Readings

You may want to read (or re-read) these chapters to get a bit more depth on the topics covered in class.

  • JavaScript, The Good Parts: Chapters 3 (Objects), 4 (Functions), and 6 (Arrays)
  • Learning Node: Chapters 2 (REPL), 4 (Modules), 6 (Routing and Connect), 7 (Express), 8 (Jade only)

Note Express exposes much of the functionality of Connect.

Notes

October 16

  • Have until Thursday at 4pm to finish assignment 2
  • Midterm
    • read JavaScript : ch3, ch4, ch6
    • read Learning Node: ch2, ch4, ch6
  • puzzle.js
    • global scopt – Y
    • file scope - p, f, repl
    • y and q and available at prompt,
      • repl has it's own scope – that's why q is available at prompt
      • .context is dereferencing repl.start