Connect iPhone to ODBC Database

I am new to iOS development. I have to create an application that connects to the Sybase database. My bet will be to use ODBC. Does anyone know how to connect to an ODBC-enabled database from Object C.

I came across applications that can do this, but I don't seem to find any specific iOS documentation or source code examples. Does anyone have any idea?

Thanks in advance!

+4
source share
4 answers

There is a new ODBC SDK for iOS available at http://ODBCrouter.com/ipad complete with screenshots and an application that you can download and use with the online demo system.

+6
source

Basically you want to get to remote databases through a web service tier. The application I'm working on now interacts with TON interacting with the database, and I wrote a number of PHP scripts that live on the web server on the same machine as the database. My PHP receives web requests from the application whether the database is working and responding to JSON objects. You can obviously use any web layer you want - asp, perl, you name it - and respond to XML if you want. Never mind.

I do not know anyone who really interacts with the database interface, ODBC or otherwise, directly from the phone. It seems that people are going this way through the middle tier of web applications.

+1
source

iPhone SDK can use SQLite. I am not sure about others. Perhaps the best choice is to free it from the ODBC problem and write the facade of a web service to provide access to the database.

0
source

WCF Data Services / w Entity Framework and OData Client Library for iOS give you full access to the CRUD framework.

0
source

All Articles