Building A Web Framework
- 1.Why Build a Framework? WSGI & the Real Python Web Server Interface
- 2.A Routing Engine From Scratch: Path Matching & Dynamic Parameters
- 3.Request & Response Objects: Wrapping the Raw WSGI Environ
- 4.Building a Template Engine: Parsing, Compiling & Rendering
- 5.Middleware: A Real Onion-Model Pipeline
- 6.Sessions & Cookies: Real State Across Stateless Requests
- 7.A Minimal ORM: Mapping Real Python Objects to Real SQL
- 8.Error Handling & a Real Development Server With Live Reload
- 9.Static Files & a Real CLI for the Framework
- 10.Capstone: A Complete, Working Small Application
PDF Downloads
Exercise Solutions
buildframework1-1_challenge1.txtbuildframework1-1_challenge2.txtbuildframework1-1_challenge3.txtbuildframework1-2_challenge1.txtbuildframework1-2_challenge2.txtbuildframework1-2_challenge3.txtbuildframework1-3_challenge1.txtbuildframework1-3_challenge2.txtbuildframework1-3_challenge3.txtbuildframework1-4_challenge1.txtbuildframework1-4_challenge2.txtbuildframework1-4_challenge3.txtbuildframework1-5_challenge1.txtbuildframework1-5_challenge2.txtbuildframework1-5_challenge3.txtbuildframework1-6_challenge1.txtbuildframework1-6_challenge2.txtbuildframework1-6_challenge3.txtbuildframework1-7_challenge1.txtbuildframework1-7_challenge2.txtbuildframework1-7_challenge3.txtbuildframework1-8_challenge1.txtbuildframework1-8_challenge2.txtbuildframework1-8_challenge3.txtbuildframework1-9_challenge1.txtbuildframework1-9_challenge2.txtbuildframework1-9_challenge3.txtbuildframework1-10_challenge1.txtbuildframework1-10_challenge2.txtbuildframework1-10_challenge3.txt