WebFund 2013W Lecture 10
Lecture
Audio from the lecture given on February 7, 2013 is here.
Also, here is jquery-ui-express, the example discussed in class. To run this code you will need to:
- Install node and npm. Note this example was developed with version 0.8.19.
- Install express, generally by running npm install express -g.
- unzip jquery-ui-express.zip
- cd jquery-ui-express; npm install (to get the correct node_modules directory set up.
- node app.js
This example is a node port of the standalone html demo demo-jquery-ui covered in last week's tutorial.
Questions
- Express gives you a static file server by default. (true/false)
- In express, URLs are all automatically resolved by looking for the appropriately named file. (true/false)
- In node, modules declare public functions by assigning them to which object?
- Jade templates only allow you to access a restricted subset of HTML. (true/false)
- In an HTML form, if I want to return a value called "country", which parameter do I set to "country": id, name, class, for, or type?