~/talk

Writing a Database in Scala.js

Talkat Scala Days 2023 Seattle · 2023-06-05..06-07· [databases, scala]
links:none on file
slides:none on file

TinyDB is a browser database written in Scala.js that models tables, a small query language (parser + interpreter), custom column enumerations, joins, CSV import, and charts; live demo shows CSV import and a working count aggregation and pie charts but some query cases and reactive views remain unfinished. Implementation uses Tyrion for UI/state, FS2/cats-style streaming, and hand‑crafted facades for Chart.js instead of full scalably‑typed generation; code compiles to run on phones and the desktop.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Scala Days
  3. 1:14What is TinyDB?
  4. 9:40TinyDB Tech Breakdown
  5. 10:22Getting Started with Scala.js
  6. 11:03Scala.js vs TypeScript
  7. 13:34Scala.js Facade Layers
  8. 15:45Facade Development
  9. 18:37To ScalablyType or Not to ScalablyType
  10. 22:15Better Idea: DIY
  11. 23:55Linking Errors & the JDK
  12. 27:42What Makes a Database?
  13. 28:44Feature: Queries
  14. 30:35Feature: Expressions
  15. 36:29Main Tyrian Loop
  16. 39:10Tyrian App Main
  17. 40:41Future Feature 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.