HTTP + OOP: Building an Object Server
Introduction
The problem with CGI
How the web works:
The World Wide Web
The inner nature of HTTP
HTTP "on the wire"
Browsing without a browser
CRUD = HTTP?
Creating a specialized webserver:
A minimal HTTP server in Python
An ugly truth about browsers
Translating MVC + CRUD to HTTP
Our HTTP request-response cycles
Interaction storyboard
Code reuse
Mapping to HTTP + URL pairs
Actual Code (
Source files:
quote_server.py
,
quote.py
)
Towards an Object Server:
1. Identify couplings to quote.py [6:10]
2. Object creation menu requirements [5:00]
3. Object creation menu Python code [9:05]
4. Final steps [6:10]
(A thing we're not doing.)
Summary