Xamarin Migration: realm to mongodb realm - realm-mobile-platform

While migrating from realm to mongoDB realm in xamarin forms. what is the alternative of QueryBasedSyncConfiguration in mongoDB realm.

Related

Can Flutterflow app access MySQL database from my Google Cloud Instance?

I will create a mobile app for Android and iOS. The purpose of the app is to access just a segment of the MySQL database, that part is for customers (the rest of the database is used by employees via my web application).
Is there a way the for FlutterFlow app to access MySQL database instead of FireBase Storage? If not, what are the alternatives?
Though flutterflow has default integration with Firebase firestore database,
below 2 approaches can be used.
API integration approach can be used to use MYSQL database.
Please refer below flow:
You can have backend Server which will host the API.
This backend server will have integration with MYSQL DB
API's will be consumed in flutterflow app
https://docs.flutterflow.io/data-and-backend/api-calls
Custom code approach (Though have not used it before)
https://docs.flutterflow.io/customizing-your-app/manage-custom-code-in-github

Delphi existing application connect to cloud

I have my application in Delphi with MySQL as a database. This is a Desktop application with local Database connected using ADO components.
I have another web application done in PHP and MYSQL.
I want to merge both databases and connect the Delphi application to the cloud MySQL database.
Do I need to put all my logic in PHP scripts and access them from Delphi?
How Delphi to cloud connection can be established?
You can use FireDAC to connect to a database located in the cloud, as soon as your provider allows that connectivity.
But exposing you database to the internet is not the best secure architecture. As you suggest yourself with naming it, a much better architecture is REST. The idea is to write server side software - could be PHP - to accept REST requests from a client, execute it (access the database) and send a reply to the client.
Today's, the REST requests are frequently using JSON to pass requests and receive replies. JSON is supported by Delphi. In short, this is an ASCII representation for object properties.
If accessing the database directly is what you really want, look at this video by Stephen Ball showing how to access an MS-SQL database on Azure cloud. This would be pretty well the same with mySQL.

Implementing websockets with angular, node and mysql

I have a Angular app that serves content from a Node.js API which gets the data from a MySQL database. The node API server just gets the data from the database, it doesn't insert anything. A Spring Boot API microservice inserts data into the database.
How would I implement WebSockets so every time the Spring Boot API inserts something into the database, the content is served into the Angular app in real time.
I have a hard time finding tutorials on this topic, help would be greatly appreciated!
Your app will work in following model. i.e :
when page refreshed or loaded, base content will be retrieved from node API
web socket and watcher will based on Angular (client side) + spring boot (server side). web socket implementation doesn't rely on node API.
You need to create client sender and receiver with Angular
Spring boot receiver and sender for mysql, Also to inform client.
When there is new text entered, client and server will communicate via web socket. You don't need to return any data in spring boot but spring boot web socket should inform the client about the new connection/text etc.
Please check below link. Which demonstrates socket implementation of Angular + Spring boot.
Link :
Spring Boot Angular Websocket
Angular 6 WebSocket example with Spring Boot WebSocket Server | SockJS + STOMP

Working with azure(mysql database) in node javascript with cloud API

I'm working with an API app on Azure by deploying an API written in NodeJs which stores data in MongoDb.
Make a new API for web & mobile apps from Azure portal.
Choose MongoDb by adding MongoLab module from Azure.
Create a table (collection) and populate it with few entries.
Prepare our Git repository from Azure portal and link it to our local Git on computers.
Decide which NodeJs modules to use to set the dependencies.
Edit the configuration file for NodeJs.
Make the main API file with the following functionalities:
Connection to the database.
Running the service.Making CRUD operation services (CREATE, READ,DELETE...)
Testing our API on a browser.
Making an application using our API
My question: how to use these steps to store data in mysql database(azure)?
I cannot fully understand your requirement, do you want to use the MySQL database to store your data in your API application in Node.js? If not, please clarify your purpose.
To implement connection to MySQL in Node.js, you can use some 3rd part MySQL handler modules.
For example:
node-mysql - A pure node.js JavaScript Client implementing the MySql protocol
or
Sequelize - A promise-based ORM for Node.js and io.js
Any further concern, please feel free to let me know.

Windows Azure Servicebus and Oracle Servicebus

I'm working with an application which uses Windows Azure Servicebus as endpoint for in/outbound integration. A potential customer is using Oracle Servicebus as integration platform. "My" application is sending/receiving xml-based messages through topics/queues.
My thought is that it should be quite straight forward to connect these two platforms using REST or AMQP. But I have no experience with Oracle Servicebus, so I'm not ready to go all in with this thought.
Any out there who has experience with this kind of solution?
With best regards
/Anders