Day 19: Tuesday, Mar 18th, 2014ΒΆ

0. Read A conspiracy of hogs and skim the Wikipedia entry on Prediction market.

  1. Quizlet. You may need to sign into your MSU account on Google first.

  2. Discussion.

  3. More query diagrams: redirects, and JavaScript.

  4. Quick discussion of twill.

    (Note: is anyone interested in rewriting this using ‘requests’?)

  5. twill exercise


  6. write a query diagram for the quotes app.

    To get the quotes app, do a clean checkout of my serverz repo into the directory ‘day19’ by doing:

    git clone day19 -b day19

    and then:

    cd day19/quotes/
    python2.7 quotes-server <port number>

    You probably won’t need to be in an activate virtualenv to do this.

    Finally, go to:<port number>/quotes-2.html

    Draw a query diagram explaining the HTTP serving that’s going on here, and then write your NetID on the piece of paper and put ‘em in a stack on Table 6.

Previous topic

Day 20: Thursday, Mar 20th, 2014

Next topic

Homework 8

This Page

Edit this document!

This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.

  1. Go to Day 19: Tuesday, Mar 18th, 2014 on GitHub.
  2. Edit files using GitHub's text editor in your web browser (see the 'Edit' tab on the top right of the file)
  3. Fill in the Commit message text box at the bottom of the page describing why you made the changes. Press the Propose file change button next to it when done.
  4. Then click Send a pull request.
  5. Your changes are now queued for review under the project's Pull requests tab on GitHub!

For an introduction to the documentation format please see the reST primer.