Dyrecteddyrected
Recipes

Recipes

Compiled implementation patterns with authored decisions, cautions, and alternatives.

Recipes start from an outcome rather than a Dyrected term. Each page combines authored guidance with canonical source compiled and tested by @dyrected/knowledge.

Copy a recipe only after reading its cautions: access rules, schema migrations, URL policy, provider behavior, and editorial workflow are application decisions that generated code cannot make for you.

Recipe index

Choosing a pattern

  • Use field hooks for transformations local to one value; use collection hooks for cross-field behavior.
  • Use server access rules for security and Admin conditions for presentation.
  • Use relationships for stored ownership and joins for reverse lookup.
  • Use workflows for capability-controlled editorial states rather than an informal status field.
  • Treat schema evolution and public URLs as migrations, not ordinary refactors.

On this page