Screencasts which introduce BFG and demonstrate BFG features.
Groundhog 1: Mapping URLs to Code (35 minutes 49 seconds)
In the first screencast in this series, we use BFG to begin building (with apologies to Armin Ronacher) a clone of the open source Flask "microframework" that we name Groundhog. At the end of the first video, we have built enough of Groundhog to allow users to map URLs to code in a way that will be familiar to Flask developers.
In the second screencast in this series, we give Groundhog's users the ability to generate URLs based on routing patterns associated with user-defined view functions. At the end of the second video, a Groundhog user can use the url_for method of the application to generate URLs which point into his application. We also teach Groundhog how to redirect to slash-appended routes and we show off the interactive exception debugger (WebError's EvalException).
Groundhog 3: HTML Templating (39 minutes 38 seconds)
In the third screencast in this series, we allow Groundhog users to render HTML using
templates. We add a
method of the Groundhog application object and we provide custom
Groundhog 4: Sessions and Flash Messages (28 minutes 0 seconds)
In the fourth Groundhog screencast, we give our microframework's users a way to store information in sessions by making use of Beaker middleware. We then implement flash messaging on top of this sessioning machinery.