Skip to content

Address book tutorial

Greg Bowler edited this page May 9, 2026 · 2 revisions
  • Build a larger multi-page application that feels closer to production code.
  • Use a database to persist the state.
  • Make it so multiple users can store their own address book.

What we'll build

  • Multi-page structure.
  • Shared layout.
  • Database-driven pages.
  • Better application layering.
  • More deliberate testing and deployment concerns.

Build steps

  • HTML-first: the address book index page.
  • A single record on its own page.
  • Creating and editing records.
  • Organising page logic and application classes.
  • Hooking up the database.
  • Identify the user with a single username identifier.

Taking it further

  • Validation.
  • Security.
  • Testing.
  • How to convert simple username identifier to real authentication (use Authwave).

When starting a new application with gt create, we can start with any of these tutorials or pick from other blueprints.

Clone this wiki locally