Rdbms one way sync with Realm Object Server possible? - mobile

I'm looking into Realm Mobile Database and Realm Mobile Platform to implement an offline first mobile app. I think my scenario is pretty common:
I've a website with a SQL database, I need a mobile app to display the data from the website, read only data. This app will be eventually connected so I need to sync the data from server to client when the client get connected, and then consume that data offline.
I need to know if anyone is doing something like an ETL to keep a SQL DB synched with Realm Object Server in order to sync it with the mobile clients.
Just one way SQL -> Realm Object Server -> Realm Mobile Database.
I'm just discovering Realm so I want to know if this is doable?

It's possible, but not in the freely available version of the Realm Mobile Platform on the Realm Website.
At the moment, only a sync-enabled version of the Realm Node.JS SDK is capable of opening and writing data to synchronized Realm files located on the server. This SDK is only presently available to people who have purchased the Enterprise edition of the Realm Mobile Platform. The developer edition of the Realm Mobile Platform only allows for modification of synchronized Realms from a user's local device.
A version of the Realm Mobile Platform with server-side integrations intended for indie level developers is also on its way. :)

Related

Is there any suggestion on the database option to replace Firebase Firestore that can be work on Huawei devices? - Flutter

I am developing an application using Flutter and integrating some Huawei Kit into the application. My final aim is to deploy it into the Huawei App Gallary.
However, I am using Firebase Firestore Database as the database for my project previously. But it seems not to work on Huawei devices. 
Is there any database option that can be used in the Flutter Project to replace the Firebase Firestore which can be used on Huawei devices?
You could use Huawei Cloud DB as an alternative.
Huawei Cloud DB is a device-cloud synergy database product that provides data synergy management capabilities between the device and cloud, unified data models, and various data management APIs. In addition to ensuring data availability, reliability, consistency, and security, CloudDB enables seamless data synchronization between the device and cloud, and supports offline application operations, helping developers quickly develop device-cloud and multi-device synergy applications.
For details, You could follow this to integrate the Cloud DB plugin for Flutter.
you can try huawei CloudDB Service. Find the guides here.

Offline sync in xamarin forms without azure mobile service client

I am new to Xamarin development.
I am building a Xamarin application with RESTful API and using SQL server for online storage and SQLite for the Local storage.
I need to add offline sync feature to my app.
Is there any way to sync remote server and local DB, without using azure mobile service client?
yes you can make use of Sync Adapter this would sync your data in background but this is Platform specific and hence you had to implement it in Native Class Also If you want a Periodic Sync you can also use JobSchedular in Android
You Can Read More Here
Android SyncAdapter Documentation

Deploy and connect build application into Bluemix PaaS?

I already deploy my application with eclipse and built in database (generated from AssestDB of the application). I want now to manage the application and deploy it with IBM bluemix PaaS, to manage Mobile Data.
What is the best DB I must use when coding before deploy into Bluemix?
If you want to configure your local test environment in order to minimize migration problems when deploying your application on Bluemix, you should replicate the target environment on your local one, as much as possible.
If you are planning to use the Mobile Data service on Bluemix please consider that it is built on Cloudant NOSQL Database, and it offers a further layer of abstraction that allows you to directly persist objects (if you are familiar with the concepts of class, object etc..).
You could also directly connect from a local application to a DB service instance running on Bluemix.

Azure Web Site with Push notifications

I'm trying to develop a Windows Phone 8 app. I've created a Web Site in a Windows Azure account which is an MVC 4 project with REST endpoints. I've got an SQL database in Azure to store data from the Azure Web Site. Ocassionaly, I want my application to send PUSH notifications to mobile phones. So I've created a Mobile Service and I've linked the SQL database with the Mobile Service's database in order to have got the same data for the web page and the service.
I though that when I send an HTTP POST to the web site, the script in the database from the Azure Mobile Service would be launched but it looks not to be true. Isn't it? Because of that, I would write in the controller of an HTTP POST endpoint the code to send the data to the Mobile Service endpoint in order to launch the JavaScript code to send the Push Notification.
Is that the right approach for my goal? Is there any way for sending PUSH notifications from an Azure Web Site or it is only allowed from a Mobile Service?
My last question: Do you know any books or blogs about development in Windows Azure? On the Internet there is lots of documentation but principally those are get started tutorials. I've read some books but those are really complex, boring, and not really practical.
As your website MVC4 based and is running on Windows Azure using SQL Database as backend, I will guess that it is based on ASP.NET and i will write my suggestion based on that.
Now about your question "Is there any way for sending PUSH notifications from a Azure Web Site or it is only allowed from a Mobile Service?" I would say, Azure Mobile web services are designed for the same purpose for any service running on Windows Azure to send push notification on multiple of platforms. Application developer can choose to use Mobile Services to expedite their development as well as have multiple application using the one single service for such objective.
However as you mentioned "Is there any way for sending PUSH notifications from a Azure Web Site" this is not depend on "Azure web sites" instead it is depend on what development technology you are using with your Windows Azure Application. For example in ASP.NET your can use SignalR implementation if your application is based on Java, PHP, Python, Node,js etc then you can find some other run time specific real time implementation. If you look around for websockets you will find implementation in almost every popular language or look for comet programming on this regard. Not only that you can use some of the popular 3rd party applications for this purpose as well. i.e. pusher or any other.
While Windows Azure Mobile Services will give you the best results on Windows Azure platform as it is designed to provide such specific functionality for applications running on it.
Recently released: Azure Notification Hub
http://msdn.microsoft.com/en-us/library/windowsazure/jj927170.aspx

Strategy for syncing data with mobile phones?

We built a .NET server application that hosts data (contacts, email, etc.). We'd like to sync our data to mobile devices: iPhone, Windows Mobile, Blackberry, etc.
How should we go about doing this?
Build several mobile apps, one for each platform (e.g. app for iPhone, app for Blackberry, etc.), each app syncs with our server.
License Microsoft Exchange protocol technology from Microsoft, so that our server application pretends to be an Exchange server, thus making syncing work automatically on all the different platforms (As we understand it, iPhone, Windows Mobile, Blackberry, etc. all have built-in syncing capability with Microsoft Exchange).
Are there other options to consider?
Any suggestions?
One option you should definitely consider is Oracle’s mobile enterprise application platform. This is a combination of several different products such as Database Lite Mobile Server, ADF Mobile, and JDeveloper.
The mobile enterprise application platform allows you to write the code once, using JDeveloper, and create packages for multiple mobile architectures, using ADF Mobile. Database Lite Mobile Server can provision the apps out to the mobile devices. After that, you can monitor and manage the mobile devices from the mobile server management console.
Here are some links to more info:
ORACLE MEAP: http://bit.ly/fQbXUL
Database Lite Mobile Server: http://bit.ly/eJOzhN
One caveat is that the data needs to be stored in an Oracle Database on the backend. Hope that helps, good luck solving the problem.
-- Eric

Resources