~/talk

SQL from the Frontend: Viable or Not?

slides:none on file

Claim: exposing SQL to the client massively speeds early development but is not production-ready alone. Demonstrated tools and patterns: Neon Author, Postgres RLS protecting per-row access (RLS shipped 2016), PostgREST/Supabase-style proxies, and Drizzle-generated policies. Built examples: todo app and a Twitter/X-style chat with RLS rules that work for reads/writes but leave secrets and third‑party API calls unresolved. Operational gaps: need robust rate limiting, a query allowlist, and avoidance of large stored‑procedure business logic.

AI-written summary · about

  1. 0:00Introduction
  2. 1:54Frontend SQL architecture
  3. 4:50Traditional backend roles
  4. 10:12Can DBs replace backend logic
  5. 15:50PostgreSQL RLS explained
  6. 18:44Social network modeling with RLS
  7. 24:47PostgREST and Neon Auth
  8. 28:50Remaining challenges
  9. 31:02Hybrid architecture future
  10. 33:49Summary and future
  11. 34:58Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.