In the sixth and final screencast in the Groundhog series, we allow our microframework's users to subscribe to and receive events, which are objects broadcast by BFG at various well-known points during its processing cycle. We also allow our users to define and send their own custom event types. Once we've built up some event machinery, we use it to implement "importable locals" (aka "stacked object proxies" or "context locals").
↧