~/talk

Mobile & Offline Data Synchronization in AngularJS

Talkat Spotlight: AngularJS 2014 · on Saturday, 2014-06-07· [angular]
slides:none on file

Demo builds a working offline-capable AngularJS to‑do using Ionic, PouchDB (client) and CouchDB (server) with code at https://github.com/danielzen/ionic-pouchdb-todo and slides at http://bit.ly/zen-ng-pouchdb. App persists tasks across reloads by writing to PouchDB and reacting to its change feed, and it performs bi‑directional replication when a toggleable online sync is enabled. Conflict handling is minimal — the demo notes last‑writer‑wins conflict observed and flags the need for an Angular‑style three‑way binding wrapper; overall syncing between browser and iOS build works.

AI-written summary · about

  1. 0:00Intro
  2. 0:27About me
  3. 0:57Outline
  4. 1:24Requirements
  5. 2:22Data Persistence
  6. 3:08crud
  7. 3:38restful
  8. 3:55REST API
  9. 4:08HTTP Service
  10. 4:32Resource
  11. 5:08HTTP Promise
  12. 5:22Offline
  13. 6:24Email
  14. 7:35Connectivity Lifecycle
  15. 9:05Offline Data Synchronization
  16. 10:28Local Storage Options
  17. 11:53Firebase
  18. 12:54CouchDB
  19. 14:39Resources
  20. 14:51Ionic Framework
  21. 15:52Application CSS
  22. 16:12Application HTML
  23. 17:15JavaScript
  24. 19:01Ionic Modal
  25. 19:35NG Template
  26. 21:21Post to PouchDB
  27. 21:59Listening to Changes
  28. 23:46App in Action
  29. 25:18Edit Delete Buttons
  30. 25:41OnChangeListener
  31. 26:22Ionic Popup
  32. 28:16CouchDB Setup
  33. 29:52Online Button
  34. 30:12Online Function
  35. 30:56Demo
  36. 33:54Discussion
~/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.