Overview
This week we begin our study of web application development with Django.
Friday, December 5th
Homework
Chris is out today, and we have a 2-hour delay, so we'll make our best effort to follow through on his plans for today.
During today's class, you will be work on the Sockets For Two-Way Chat
activity in
Chapter 10 Exercise Set 0: Chapter Review. You will need to pair up for
this activity, since as the saying goes, It takes two to tango.
:-)
Homework
Watch the first two videos from Lesson 6: Basic SQL:
- How Databases Work
- Introduction to Structured Query Language (SQL)
Be sure to take notes in your git repos and come to class next Tuesday ready for a keep me honest quiz on the material.
Wednesday, December 3rd
Classwork
We'll start class with the promised integrity check
mini-quiz on the
videos you watched for homework. Then we'll have a brief discussion of what a
flipped classroom
is and the role we hope our short quizzes at the beginning of class periods
will play in that learning environment, and why it is so important for you
to do your homework.
We will then experiment with a few of the examples presented in the lectures.
- You'll see a demo of the
telnet [host] 80process sending theGET [host] HTTP/1.0command. - Using these slightly modified versions of simplest browser and simplest web server, we will experiment with them on our own machines in class.
Monday, December 1st
Classwork
During class today we will setup a local Django installation using these Setting Up Your Local Workstation for Django Development instructions. I will explain what each of these steps do as we do them together.
Homework
Complete the first 6 videos in Lesson 14: How Dynamic Web Content Works from Django for Everybody.
By complete
we mean:
-
Watch the first six video lectures:
- The 'Big Picture' of a Django Application
- Web Applications and the Request/Response Cycle
- Using Sockets to Make Network Connections in Python
- Exploring the HyperText Transfer Protocol
- Building a Simple Web Browser in Python
- Building a Simple Web Server in Python
- Take notes!
Put your notes in a Markdown file named DynamicWebContent.md in
your git repo.
As you watch the lectures, be sure to take notes on:
- the HTTP request/response cycle
- what a socket is
- the RFC process and the
democracy
of the web - the parts of a Uniform Resource Locator (URL)
- the most common TCP port numbers
Evaluation
You will have a very short quiz on the homework material when you arrive in class on Wednesday. This quiz and your notes will be weighted equally in determining your grade.
