~/talk

Live Coding Workshop

Talkat Fluttercon Europe 2024 · 2024-07-03..07-05· [frontend-architecture]
slides:none on file

Live-coding builds a minimal Firestore-like realtime stack: a simple messages table in Postgres NOTIFY + trigger, a small Dart shelf server (built into a two-stage Docker image) that opens a connection pool, listens to DB notifications and exposes GET/POST APIs, and broadcasts changes over websocket_channel to a Flutter web client. Inserts trigger notifications and arrive over the websocket; updates reveal a trigger/typing bug during the demo. Code uses UUIDs, hardcoded config for speed, and a hot-reload helper for rapid iteration.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Firebase replacement goals
  3. 2:53Project structure and Docker
  4. 5:03PostgreSQL setup and schema
  5. 10:09Database triggers and notifications
  6. 12:20Server to PostgreSQL
  7. 15:51Listening to notifications
  8. 20:53Server startup and testing
  9. 23:09Websockets and app plans
  10. 25:38REST APIs for messages
  11. 34:18Testing APIs and hot reload
  12. 38:40Adding websocket support
  13. 42:55Websocket handler
  14. 47:08Testing websockets with DB
  15. 49:58Updating Flutter app
  16. 55:08Connecting to websocket
  17. 1:04:24Displaying messages
  18. 1:07:16Debugging app issues
  19. 1:12:27Final testing and demo
~/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.