![]() ![]() This is the part we’ve heard our users describe as “magic.”įlexible Sync also enables much more dynamic queries, based on user inputs. All of this occurs behind the scenes while the developer is interacting with the data. As soon as connectivity is reestablished, any changes made to the server-side or client-side are synced down using built-in granular conflict resolution logic. The Realm Sync thread keeps a queue of any changes made locally to synced objects-even when offline. Those documents are then translated into Realm objects, sent down to the Realm client, and stored on disk. Atlas then returns the resulting documents. MongoDB Realm translates the query to MongoDB’s query language and executes the query against MongoDB Atlas. Under the hood, the Realm Sync thread sends the query to MongoDB Realm (Realm’s cloud offering). Instead, the Realm APIs directly integrate with the native querying system on the developer’s choice of platform-for example, a predicate-based query language for iOS, a Fluent query for Android, a string-based query for Javascript, and a LINQ query for. One of the primary benefits of Flexible Sync is that it eliminates all the time developers spend determining what query parameters to pass to an endpoint. The new structure is designed to more closely mirror how developers are used to building sync today-typically using GET requests with query parameters. Simplify permissions: Apply role-based logic to applications with an expressive permissions system that groups users into roles on a pe-class or collection basis.įlexible Sync’s query-based sync logic is distinctly different from how Realm Sync operates today.Optimize real-time collaboration between users: Utilize object-level conflict-resolution logic.Get to market faster: Use intuitive, language-native queries to define the data synced to user applications instead of proprietary concepts.Flexible Sync is designed to help developers: With that in mind, we built the next iteration of Realm Sync: Flexible Sync. But for dynamic apps and complex use cases, developers still had to spend time creating workarounds instead of developing new features. It expedited the time-to-market for many developers and worked well for apps where data is static and compartmentalized, or where permissions rarely need to change. Our first version of Realm Sync addressed this pain by abstracting away offline-first, real-time syncing functionality using declarative APIs. A common theme emerged-building real-time, offline-first mobile apps require an overwhelming amount of complex, non-differentiating work. ![]() Prior to launching the general availability of Realm Sync in February 2021, the Realm team spent countless hours with developers learning how they build best-in-class mobile applications. Now, developers can get more granular control over the data synced to user applications with intuitive language-native queries and hierarchical permissions. This new method of syncing puts the power into the hands of the developer. We are excited to announce the public preview of our next version of Realm Sync: Flexible Sync. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |