Elixir Mentor

Zach Daniel on the Ash Framework

20 snips
Jun 8, 2024
Join Zach Daniel, the creator of the Ash Framework, as he dives into the innovative architecture of his brainchild, emphasizing its power in building maintainable Elixir applications. He explains how Ash simplifies complex business logic with a declarative approach and enhances productivity through its customizable features. Zach also introduces his latest project, Igniter, aimed at streamlining development workflows. Discover the collaborative spirit within the Elixir community and the importance of clear communication for beginners.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Policies Compile Into Safe Filters

  • Ash compiles policies into filters and enforces them across relationships and queries.
  • This prevents enumeration and timing attack vectors that arise from fetching then filtering records.
INSIGHT

Field Policies Preserve Features Safely

  • Field policies let the system blank fields you cannot view while still allowing filtering, sorting, and relationships.
  • This preserves features without exposing sensitive values or enabling guessing attacks.
ADVICE

Keep Extension Paths Open

  • Design frameworks to keep extension points open and avoid closing doors prematurely.
  • Model your app as data and use DSLs as safe extension mechanisms.
Get the Snipd Podcast app to discover more snips from this episode
Get the app