~/talk

Building Offline-First Flutter Apps with Couchbase Lite

Talkat Fluttercon Europe 2023 · 2023-07-05..07-07· [flutter, databases]
links:none on file
slides:none on file

A small chat app demonstrates an embedded JSON NoSQL database Couchbase Lite with the Dart SDK and Flutter bindings using packages CBL CBL Flutter and CBL Flutter C/E, saving messages as documents (immutable by default, call toMutable to change), observing queries reactively with SQL++ result sets, and running a continuous replicator against a local Sync Gateway and Couchbase Server to sync between iOS and macOS in real time. The demo adds editable messages, creates a full-text search index with stemming and prefix search, and shows it working live.

AI-written summary · about

  1. 0:00Introduction to offline-first
  2. 5:05Building a chat app demo
  3. 7:57Installing Couchbase Lite packages
  4. 9:03Initializing Couchbase Lite
  5. 10:52Saving messages to database
  6. 14:07Watching database changes
  7. 19:11Making messages editable
  8. 21:01Setting up replication
  9. 24:59Implementing full text search
  10. 32:59Summary and Q&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.