Code from "A Tale of Three Frameworks"