~/talk

Codegen Driven Development

links:none on file
slides:none on file

Build automates cql compilation and emits Swift wrappers so SQL business logic becomes type‑safe Swift APIs. Uses cgsql’s cql compiler as a prebuild rule, writes its JSON output to derived sources, runs a Swift codegen tool and produces structs, query/mutation functions and subscription hooks attached to a mailbox dependency. Demo app Deluge shows an “add item” stored procedure that persists to SQLite, returns typed rows and automatically refreshes views; Xcode build log shows the cql run and “build succeeded,” and the live simulator creates and retains records.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Business logic importance
  3. 2:52Encapsulating logic with SQL
  4. 5:20What is CGSQL
  5. 7:10Live coding demo
  6. 12:33Why this approach works
  7. 13:15CGSQL language features
  8. 15:24Automating CQL compilation
  9. 19:16Making API Swifty
  10. 23:14Code generation script
  11. 26:44Generating Swift code
  12. 33:47System workflow summary
  13. 36:58IDE plugin for CQL
  14. 38:02Q&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.