Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.55 KB

day23.rst

File metadata and controls

46 lines (27 loc) · 1.55 KB

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