Core Concepts
This section is the architecture narrative for Rust web developers who want to understand how Coil is put together.
Each page focuses on one concept and answers five questions:
- what it is
- why it exists
- how it works
- what people commonly get wrong
- what to read next
How To Use This Chapter
Use Core Concepts when you want the architectural model first.
- Start here if you are asking "how is Coil shaped?"
- Switch to Reference when you need exact fields, APIs, or supported surfaces.
- Switch to Use Cases when you want to see how the concepts appear in a real customer app.
- Switch to Operations when you are ready to run or ship an app rather than just understand its design.
In practice, most readers should move through these sections in a loop:
- read the concept page
- open the matching Shoppr or Gitly example
- jump to the exact reference or operations page when you need mechanics
Where To See This In Practice
- Shoppr is the main reference app for multi-site commerce, CMS, checkout, and admin: Shoppr overview
- Gitly is the main reference app for a non-commerce product shape, linked Rust, and bounded WASM: Gitly overview
If you want the exactness layer while reading:
Recommended order:
- Glossary and mental model
- Customer-root workspace
- Runtime and module composition
- Content schema vs content instances
- Render pipeline and model composition
- Dynamic blocks and live-data sections
- Request and render lifecycle
- Sites, locales, and markets
- Customer apps vs official modules
- Themes, rendering, and assets
- Internationalisation, localisation, and content
- Accessibility as a platform contract
- SEO and discoverability
If you prefer to start from a running app first, go back to the Quickstart and return here after you have looked at Shoppr or Gitly.
Suggested Follow-On Paths
Choose one of these after the concept chapter:
- Product composition path: Customer project layout, Composition and coil, Shoppr overview
- Runtime and request path: Request and render lifecycle, Theme structure, Build and deploy
- Extension and customization path: Linked Rust backends, Customer Rust vs third-party WASM, Gitly overview