~/talk

Introducing LiveData: LiveView for JSON endpoints

Talkat ElixirConf EU 2022 · 2022-06-09..06-10· [frontend-architecture, api-design]
links:none on file
slides:none on file

LiveData generalizes LiveView to JSON endpoints: a server-side diffing engine compiles "templates" from Elixir AST and sends minimal JSON patches over Phoenix channels using Jason. It provides a deft (def tracked) macro that extracts static fragments at compile time, a keyed subtrees mechanism for stable identity in lists, a JavaScript/Svelte client and a Flutter demo that renders native widgets and validates forms server-side. Prototype works over reconnects by full resync, is on GitHub, and is not yet production-ready.

AI-written summary · about

  1. 0:0002:18 - Intro
  2. 2:1923:02 - Diffing Engine + Demo #1
  3. 23:0327:19 - Demo #2 LiveData + DSL + Native Mobile App
  4. 27:2034:09 - Future Work
~/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.