stave.dev

Examples

Annotated walkthroughs that show Zero Framework and ShadowComponent working together in real code.

Each example walks through a complete, working piece of code — not pseudocode or snippets, but the actual source files you would find in a real project. Start with the fundamentals and work your way up.

How to Read These

Each walkthrough follows a consistent structure:

  1. Overview — What the example builds and which concepts it covers
  2. File structure — The directory layout so you know where everything lives
  3. Annotated source — The complete code with explanations between each section
  4. Key takeaways — The patterns and principles worth remembering

Code blocks show the real source files. You can copy any example and it will work in a Zero Framework project without modification.

Prerequisites

These examples assume you have read the Zero Framework overview. You don't need to memorize the docs — just understand what a module is and how URLs map to methods.