Simplify API integrations and unlock more features for your end usersSee Demo
Realm’s approach to API mobilization
Automate realtime synchronization with Realm Mobile Platform
Realm plays nice with legacy databases
Utilize Realm to unlock the data stored in your existing databases for use in mobile apps. With Realm, you can build advanced mobile apps that works seamlessly with legacy data.
Connect via prebuilt integrations or custom Node.js
Realm offers prebuilt connectors for popular databases, you can use one of the 500K+ NPM modules to connect to popular services, or write your own custom modules with Node.js.
Consolidate API management on the server
Abstract the burden of API calls from the device to the server, thereby reducing usage of mobile bandwidth, battery, and compute while improving latency.
How it all works
The basics of API bridging
The Realm Object Server can respond to events originating either inside a Realm data store or from external APIs — ranging from legacy databases to modern products like Salesforce — to implement complex business logic.
Event listeners in the object server can observe changes to the data model—for example, a new customer entered into the system by a mobile sales team member. The Realm Event Framework could be programmed to then act on this new data — for example, uploading it to Salesforce using the Node.js API from Salesforce.
Event listeners can also monitor for changes in third-party databases via external APIs. For example, changes in quarterly sales data in Salesforce could trigger automatic updates for the mobile sales team’s app.
All of these actions are completely programable and can be combined to support more complex business logic. There is no limit to the kinds of integrations possible between the Realm Object Server and external systems and services.
Data Integration API: Guaranteeing data transmission
In some cases, customers may want to use a third-party database as a system of record in conjunction with Realm. In order to guarantee transactions are synchronized between Realm and other database systems, Realm offers the Data Integration API.
The Data Integration API creates a log of numbered transactions for external databases to read. The log allows a third-party database to read and implement the same changes Realm makes. In the event of lost connection, the third-party database can restart sync using the numbered log to ensure no data is lost or skipped.
The Data Integration API is included with the Enterprise Edition.
Try it out below
This is a simple demo app using Realm as middleware to synchronize a mobile app with a server-side API service. With this app, users can take a picture of anything and then quickly get a result based on sophisticated server-side image processing, including: image classification, face detection, and text recognition, courtesy of the IBM Watson Visual Recognition API.
React to synchronized data
Realm uses event handling to trigger the Watson API any time it notices a data change from the app (i.e., a new image is added); the returned data from Watson after processing the image is synchronized back into Realm on the server side, and immediately synchronized with the client side.
Trigger advanced event handling
These triggers can do much more than simply add data to an existing Realm: more advanced triggers and computations could create new Realms based on individual or collective events.
Integrate with legacy systems
Event handlers can also form the bridge between any number of backend legacy systems and mobile Realms in a way that allows application designers to bring these data to mobile apps/users without a lot of complicated infrastructure.
We’d love to help you get started
Whether you’ve kicked the tires and are ready to learn more, or if you’ve still got questions, we’re here to help you make the right choice—even if it’s not us!Get the White Paper