You don't need an ORM
summary
Claim: plain SQL plus code generation replaces an ORM by generating typed Gleam bindings from .sql files. The demo builds a small web server that renders a per-genre top-3 book ranking, shows IDE SQL editing, and runs Squirrel to emit Gleam modules that decode rows into types so queries become functions. Squirrel inspects Postgres at build time, requires a dev database, reports errors early, and successfully removes manual glue code while keeping full SQL power in Gleam with Squirrel.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 0:45Why databases matter
- 2:12Plain SQL vs ORMs
- 4:18SQL string wrangling problems
- 7:08Introducing Squirrel
- 8:10Live demo: Squirrel
- 13:02Developer experience with Squirrel
- 15:29Why ORMs can lead to slow applications
- 16:11Conclusion
- 16:36Q&A
related talks
23mI Would Never Use an ORM
25mI Would Never Use an ORM
52mThe SQL inside the ORM/Builder box | Claudio Zizza
30mBuilding an ORM with AReL: Walking up the (AS)Tree.
46mBeyond Good and ORMs
49mSQLPage — Building a full web application with nothing but Postgres and SQL queries
39mLet's Build an ORM
15mWhat If Writing SQL Became Cool Again?
