Writing a Database in Scala.js
summary
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
chapters (17)
- 0:00Intro
- 0:30Scala Days
- 1:14What is TinyDB?
- 9:40TinyDB Tech Breakdown
- 10:22Getting Started with Scala.js
- 11:03Scala.js vs TypeScript
- 13:34Scala.js Facade Layers
- 15:45Facade Development
- 18:37To ScalablyType or Not to ScalablyType
- 22:15Better Idea: DIY
- 23:55Linking Errors & the JDK
- 27:42What Makes a Database?
- 28:44Feature: Queries
- 30:35Feature: Expressions
- 36:29Main Tyrian Loop
- 39:10Tyrian App Main
- 40:41Future Feature Work
related talks
44mGetting started with Scala js, Laminar and Vite
45mGetting started with Scala.js, Laminar and Vite
31mSCALA FROM B TO F - BACKEND DEVELOPER ON FRONTEND
37mFP Scala Meat & Potatoes...
36mData pipelines engineering made simple with Scala
56mScala.js: Safety and Sanity in the Wild West of Web development
31mSCALAJS - WEB WITHOUT PAIN OF JAVASCRIPT
09mA DSL for My NoSQL Database
