MongoDB is often perceived as just a database but it's much more than that. In this session, we cover the basics of MongoDB and how to build mobile apps using it.
shared. Logistics All participants will be muted. For questions during & at the end of the session, please use the Q&A box. For live comments, please use the Chat in the control panel. There will be a short survey at the end - your input is appreciated :)
In-cloud security: Features that integrate with your existing protocols and compliance standards. • Encrypted storage volumes • Network isolation • Role-based access management On-device encryption: Easily encrypt PII in realm database files with the encryption APIs Authorization: Rich authorization methods including anonymous, email/password, API key, Custom Function, Custom JWT, Facebook, Google, and Apple. In-flight encryption: All network traffic is encrypted using Transport layer Security (TLS). Granular permissions: Document and field-level access permissions are used to dynamically determine the data synced to the device. ISO SOC PCI CSA HIPAA HITRUST VPAT GDPR On-device In-flight In the cloud
on an anvil and pass a bottle of beer around.", "genres": [ "Short" ], "runtime": 1, "cast": [ db.movies.findOne({ "title": "Blacksmith Scene" }) Find One Document
"plot": "A lonely obese nurse, working at a hospital terminal ward, is reminded of her childhood friend Adrienn Pal and wants to track her down.", "genres": [ "Drama" ], "runtime": 136, "cast": [ "èva Gèbor", "Istvèn Znamenèk", "èkos Horvèth", "Lia Pokorny" ], "num_mflix_comments": 1, Find Many Documents
"_id": { "$oid": "573a139cf29313caabcf6fb1" }, "plot": "A lonely obese nurse, working at a hospital terminal ward, is reminded of her childhood friend Adrienn Pal and wants to track her down.", "genres": [ "Drama" ], "runtime": 136, "cast": [ "èva Gèbor", "Istvèn Znamenèk", "èkos Horvèth", "Lia Pokorny" ], "num_mflix_comments": 1, Find Many Documents
REST CALL TO API COMPLEX NETWORK HANDLING & CONFLICT RESOLUTION POTENTIAL APP CRASH OFFLINE? INVALID DATA? SERVER ERROR? TIMED OUT? Backend database Mobile devices with local data High Level Architecture
Device Sync SDK writes transaction The Realm SDK writes the transaction, commiting the object to disk, and sends the changes to the server Insert into collection MongoDB document inserted into the Atlas collection User makes change User logs into the app and makes an edit Object Conversion Atlas Device Sync automatically converts the Realm object to a MongoDB document Change Detected Document changed by another user is picked up by changeStreams and forwarded to Atlas Device Sync Object Conversion Atlas Device Sync automatically translates MongoDB documents to Realm objects and syncs down to the device Notification Realm commits the change to disk. A notification is fired and the UI is updated displaying the new change to the user