~/talk

OnConnectionLost - The Life of an Offline Web Application

TalkinGermanat enterJS 2016 · 2016-06-14..06-16· [web-platform, frontend-architecture]
slides:none on file

A web application was built to let field staff read documents, record results and upload photos while offline, then automatically sync changes when back online. The project uses HTML5 AppCache, IndexedDB and the File API to store both application code and data in the browser, and addresses design questions about client vs. server data ownership, app updates, which data to pre-download for offline use, automated testing of offline features, and defining what “offline” means.

AI-written summary · about

  1. 0:00Offline apps intro
  2. 1:13What offline means
  3. 2:17Two real-world cases
  4. 4:49Three steps to offline
  5. 5:10Installing in browser
  6. 8:46AppCache pitfalls and alternatives
  7. 9:49Service Workers solution
  8. 10:12Choosing storage options
  9. 11:42LocalStorage to IndexedDB
  10. 12:23IndexedDB API overview
  11. 13:46IndexedDB API challenges
  12. 14:06Handling DB migrations
  13. 15:56Cross-language migration logic
  14. 16:21Sync offline data changes
  15. 18:08Command vs memento pattern
  16. 19:10Memento pattern implementation
  17. 21:42Detecting online status
  18. 23:29Developer's nightmare?
  19. 23:50Key questions for offline
  20. 27:52Unsolved challenges
  21. 30:45Offline-first design tips
~/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.