I have a really simple question yet not answered (I think) in realm documentation. I am buildint and App that does have API + iOS App + Android App + Web. The web also needs to access to the API and here comes my question:
If I migrate to realm for iOS, Android and api, would it be possible to use it for the web through any type of calls? If so, could you give me some links or documentation to read?
I am assuming you are referring to using the Realm Object Server as your backend. Right now, the server does not offer a web interface, such as a built-in REST API.
Instead, you could build this with the enterprise edition that offers a Node.js SDK where you can access the Realm data server-side. You could create REST endpoints and then retrieve/apply data via the Node.js SDK. Any change that came in through the REST API would then be automatically synced to the mobile clients.
Related
My app is currently using Firebase Authentication, and I am already using Realm objects. I just found out about this exciting Realm Mobile Platform. I would like to use that platform in my app, but I notice Realm also has an Authentication module that is required. How will that integrate with my Firebase authentication?
Realm Object Server supports username/password, Facebook and Google authentication methods right now. If there are other providers you would like, please file an issue in the realm-mobile-platform repo
If you need to use Firebase, the enterprise edition supports custom authentication, which this falls under.
I have an existing web application (Spring MVC/Hibernate/MySQL) and am writing a mobile app to cooperate with it. The Realm Object Server looks like an interesting idea, but the documentation is rather sparse on how to initially populate it with data from an existing source. The Java API is only for android. So exactly how does one go about adding data from an existing source, ideally using some sort of supported API?
It is only possible to interact directly with the Realm on the server in the Enterprise Edition through the Node js API (and later Java). The Developer edition just provide synchronization between devices.
If you are using the Developer Edition, you can ship the initial data on the phone and put it into the Realm the first time the user registers himself. That would have the same effect as doing it on the server.
Assumed I want to build an ToDo-list app for Android and iOS that uses RealmDB for storage and synchronisation. Would it be possible to use Realm in a ASP.NET based Web-Service as well to provide a webbased access to the ToDo-list?
Realm for .net requires Xamarin and it only runs on iOS and Android, although there is a popular issue requesting Windows support. It's not possible to use Realm in an ASP.NET application right now, but it's likely that this will be enabled soon.
Disclaimer: I work on Realm for Xamarin
If Realm is a replacement for SQLite how can it be used with a platfrom product that includes a Rails web app and an iOS app? Is Realm suitable for the Rails app, or is there a better option / solution?
Realm does not currently have a Ruby binding, so it cannot be used by a Rails app.
This is now possible.
Realm can be used with Ruby (and Rails) over GraphQL. You can use any GraphQL library you like to send queries and mutations to either your own Realm server or a hosed one on Realm Platform.
However, as there is (currently) no "ActiveRealm" style adapter it requires writing your own.
Here are the docs on making the requests themselves.
https://docs.realm.io/platform/graphql-web-access
I am working on an eCommerce project. I want to use amazing meteorjs for this project. I want to know is it possible to share meteor back end server( collections, methods, authentication) with a web and mobile app not just MongoDB. If its possible Please let me know how we can use the same Meteor backend server for multiple apps.
The Meteor client talks to the server using the simple DDP protocol. DDP clients have been written for a variety of other platforms, including Android and iOS.