Realm Mobile Platform
Ehsan Rezaie
@ewerx
https://ewerx.ca Local Persistence
● Store user data ● Cache generated/fetched data ● Solutions ○ Documents ○ SQLite ○ CoreData ○ Couchbase ○ Realm Mobile Database Cloud Storage
● Synchronization (1 user, multiple devices) ● Collaboration/sharing (multiple users) ● Remote data sources (content delivery) ● Multiple apps/platforms ● Solutions ○ Custom backend (database + API) ○ iCloud + CoreData (deprecated) ○ CloudKit ○ Parse ○ Firebase ○ Couchbase Server ○ Realm Mobile Platform How about both?
● Data marshalling (serialization) ● Data transport ● Synchronization Hindsight v1.x
● Priorities ○ Full offline functionality ○ Cloud sync between devices ○ No accounts/login ● Implementation ○ CoreData ○ iCloud + Ensembles ● Forced Obsolescence ○ watchOS 2+ ○ iCloud deprecation ○ Objective-C Hindsight v2.0
● Swift 3 ● watchOS 3 ● Full offline functionality ● Automatic cloud sync ● No explicit login ● Seamless migration for existing users Comparison
Custom Server CloudKit Firebase Realm Mobile Platform