I have been testing Realm Mobile Platform and I had a question.
Is it possible that the data that you manage on the phone (with realm) instead of being inserted in the realm object server, is sent to a MySql database?
thank you in advance
I asked in the realm forum and the answer was this:
Yes, with the Enterprise Edition there are options to connect with external
databases. I can recommend asking for a demo here: https://realm.io/pricing/
Related
For my Windows phone project (it's a Universal app), I have a set up that has a country and a phone number in one of the page. There are about 7 other pages that requests the user for additional information. But for starters, let's just stick with the first one, that asks for the country and the phone number.
I read through a million posts in Stackoverflow and other websites alike, to know what database system is best to implement with the sort of app I am going to be developing, or hoping to develop.
Here're my findings:
Azure SQL: I have an Azure account and I can use the Azure SQL service to store the user-input data directly to the database (when the app goes live), or while in the testing phase. But I got to know that feature isn't really working well as windows phone cannot readily update the data to Azure SQL, on realtime basis. Is it so?
MySQL: I thought I'd create a local MySQL database, for testing purposes, so as I input the data (in the emulator perhaps), the database saves it. I am unsure how I can implement this. I can't find any article I can read that can help me with this. There are with ASP.net, but it isn't what I am going to be using.
SQLite: I know for a fact the data can be stored locally, by using SQLite, but I could like to know if the locally stored data can be later updated on a server-side machine (i'd prefer Azure SQL, but MySQL is also OK with me). If it can be, i wouldn't mind settling with it. If it can't, what can I do?
It all boils down to this: What's the easiest way to store data entered in a textbox (lol, yeah!) to a database (locally or server-side)?
Your efforts to help me will be greatly appreciated!
Thanks!
You can stay on Azure SQL if you have an account.
It works fine and it updates database on the go (sends json as far as I remember), so you shouldn't worry about data being stored in a cloud. Moreover, it is super-easy to use it for your needs (store data from textbox).
Azure SQL will get your bootstrap the fastest for your application. There is no need to deploy MySQL or SQLite and managing your DB. There should not be any concern about updating the DB live from the app.
looking for some advice on a couple of topics.
Im currently starting writing my first IOS application and have some questions.I wish to access some data from a mysql DB - this will hold hold a user table with logins and passwords, etc,...
Can i access the DB directly from IOS and perform my sql queries from within?
What is the standard way of encrypting a cached password for an application?
Is it best practice to perform all the queries from with the app or rely on a web server to proceess these and return the results?
Many thanks, apologies if a little vague but appreciate any constructive feedback guys.
thanks.
Steve
Yes you can access db directly but this isn't ideal. Would be a better idea creating a rest api. Slim framework. Example below:
<?php
$app = new \Slim\Slim();
$app->get('/hello/:name', function ($name) {
echo "Hello, $name";
});
$app->run();
http://www.slimframework.com/
Would do the processing on the server and then just return a json object or xml you can then do what you want with the data.
Encrypting password you could store in keychain only your app will have access.
Can i access the DB directly from IOS and perform my sql queries from within?
reply : this is good pactice .
What is the standard way of encrypting a cached password for an application?
reply: you can use many encrypting , has md5 ,etc
Is it best practice to perform all the queries from with the app or rely on a web server to proceess these and return the results?
reply: yes you can use any webservice , json or xml it best for ios dev with webservice
You can access a database directly from the iOS using the MySQL C API. I haven't got this to work yet, but you can read more about it here: http://zetcode.com/db/mysqlc/
and
http://dev.mysql.com/doc/refman/5.0/en/c-api-function-overview.html
If you don't get it to work then you can indirectly connect to to MySQL via a PHP server. There are lots of these kind of tutorials out there.
Otherwise you could use SQLite that is bult in. But that's almost a different thing.
I'm trying to create a real time web application with NodeJS with an MVC layout using the Express framework and MySQL as my back end data store.
The problem that I've run into is that I can't find any good examples or tutorials on how to use Socket.io (or any other web socket platform to pass information in real time from the database to the web application. The specific problem is getting any new update to MySQL on a specific table to pass that information to, so that if new information is added to the database by a second client connection it will update on the first client connection as soon as the information is added.
Does anyone have any ideas on how to get socket.io(or another websocket connection protocol) and mysql to work together to achieve this? Any code example's or pointing me to some websites that have documentation on this topic would be appreciated.
Thank you!
I am newbie with CAS Server, I found it is a single sign on server between different application in terms of technology like php, .net & java. I explore it but even though there are some questions yet not clear. Before ask my doubt, I tell what am I trying to achieve?
I am using a gwt based application, Now for some of the features, development is in a php technology. It should get some session data from existing java application. another approach to customize CAS like integrate a web service layer for authorization, instead of using its existing like query to db.
The doubts are:
1) Can I share a session data between Java & php application using CAS?
2) is there any security issue while passing a data using CAS server?
Thanks in Advance.
Sharing session data accross application can be addressed by mechanisms not linked to CAS. Though, when authentication occurs in CAS server, user data are retrieved from various data sources and these user data can be pushed to client CAS applications through SAML validation and the appropriate configuration.
I am really confused on how to get data in and out of an android app from the internet.
I imagined that I would store information in the mysql db on the server I already have set up. But from what I have read, I would need some type of in-between web service to make queries with data sent from the app.
Can anybody toss me some tips on how to get something like this started.
Or, if you know of a better way, let me know about it.
This question has been asked several times, for example here: How to get from a MySql server to an Android app?.
Bottom line - you don't connect directly. You have something on your server (like RESTful) that you connect with via HTTP.
Try this method out. I will be using this method for the current project i am working on.
You basically create a php script on a server and use http posts to send the data to the script, read the tutorial linked below for better explanation.
mysql/android tutorial