Skip to content
Greg Bowler edited this page May 9, 2026 · 5 revisions
  • Every programming language or framework needs to have a todo list example project.
  • We will build a small but real application with persistence.
  • It will introduce repeated lists, actions, and persistent state.

What we'll build

  • Form handling.
  • Session-backed state.
  • List rendering.
  • Small-scale application structure.

Build stages

  • Add a form to create items.
  • Store items in the session.
  • Use application classes to represent the model.
  • Render the list from stored data.
  • Mark items complete or remove them.

Taking it further

  • How could a database be used?
  • How could multiple users manage their own todo lists concurrently?

We'll build on the code introduced in the todo list to build a full database-backed application in the address book tutorial. There's also an extension of this tutorial that adds testing from the start in todo list TDD tutorial.

Clone this wiki locally