Introduction and Overview
This unit is basically a wrap-up unit, but it will contain some fun stuff. It is all aboutreal-world issues. Things like what to look for in a web framework, how to get hostedand some of the decision making that should underpin these choices.We will talk about how Reddit began on a single machine and how they grew andscaled, learning as they developed. This will include fascinating insights from guestspeakers from Reddit and Udacity who can provide further real-life insights into someof the issues that we have discussed on this course.There are no quizzes in this unit.
A question that comes up a lot is “How do I organise code?”. You don’t want to keepall your code in one Python file, so what is the correct way to organise things?Well, the first thing to point out is that there is no, one,
answer. Whether youare writing web apps, or any other kind of software, how you organise your code issomething that is personal to you, and will come from your own experience. Stevegoes on to explain his approach:When he starts out, Steve tends to begin with everything in a single file. The file willprobably have sections for:
handlers, which define what to do when a particular URL is hit
URL mappings, which map URLs to the correct handlers