Destroy All Software

  • :
  • : 9
  • : 0

:

.

8
8x1
Routing Simple Requests
Episode overview
The first step in our web framework is to handle web requests. We set up the basic project structure, then define a Sinatra-style routing DSL allowing us to route different request paths to different blocks of code.
8x2
Variables in Routes
Episode overview
We extend our simple request router to allow variables in the routes, like the variable "username" in "/users/:username". It extracts the variables' values from the requested path and .. show full overview
8x3
Three Router Tweaks
Episode overview
There are a few annoyances with the router that will crop up later. Rather than fixing them during screencasts about the database portion, we fix all three right now. This screencast is optional and doesn't show significant changes to the framework.