Day 23: Tuesday, April 1, 2014ΒΆ

  1. Skim DevOps for recruiters and read this article and this article on ChaosMonkey.

  2. Fill out the quiz

  3. Discussion.

  4. Introducing cookies, and “secure” cookies.

    http://en.wikipedia.org/wiki/HTTP_cookie

    See also ‘cookieapp’ in cse491-server.

    Check out the day23 branch (see bottom of page), then go into day23/ and run:

    python ref-server.py -A cookie
    
  5. Introducing SQLite and SQL.

    https://docs.python.org/2/library/sqlite3.html

    http://sebastianraschka.com/Articles/sqlite3_database.html

    http://software-carpentry.org/v4/databases/

    See the sqlite/ subdirectory in cse491-server for some examples. To run the examples, check out the day23 branch (as below), and then go into day23/sqlite/, and run:

    python create.py
    python insert.py
    python retrieve.py out.png
    

    (Then verify that ‘out.png’ is a valid PNG file :)

Reminder, to look at the day23 serverz repo, put a copy in the directory ‘day23’ by doing::

git clone https://github.com/ctb/cse491-serverz.git day23 -b day23

Previous topic

Day 24: Thursday, April 3, 2014

Next topic

Homework 10

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 23: Tuesday, April 1, 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.