How to connect to a remote database from Iphone’s own application

I want to connect to a remote database (MySQL or SQL Server or Oracle) via the Internet from my native iphone application. I can not find the API or Framework in the system to add. Does anyone know how to connect to a remote database? happy to help me. Many thanks

+7
iphone
source share
4 answers

I'm not an iPhone programmer, but I suspect you want some kind of abstraction to continue.

Instead of trying to connect to a native database connection, consider writing some level of service that talks to the database in background content and says HTTP to your client application.

There are many good reasons for this. Among them are security concerns.

+5
source share

One way to do this is to set up an HTTPS server that will wrap your requests. Submit your requests via HTTPS POST. Setting up a server would be quite simple, and this gives you the opportunity to perform any subsequent processing before sending it through wiring.

+1
source share

A better alternative is to use web services to access information stored remotely.

Bye

+1
source share

Disclaimer: shamelessly plug in my own product :)

We created the Kumulos online system, which allows iOS and OSX developers to create and host online databases in the cloud, as well as easily create their own API methods to access them. It even builds all Objective-C bindings for you.

It is really very easy to use and free in beta. We would like some kind of honest feedback from the developer :)

Check here

0
source share

All Articles