PDA

View Full Version : Will sdk provide user database storage/access on the iphone?




jtaylr77
Mar 7, 2008, 09:19 PM
I have an idea for a iphone/touch app but it would require user entered data and returning values based on those entries. I have not watched all the instructional videos yet so I apologize if this is covered.



Loc
Mar 8, 2008, 12:13 AM
I have an idea for a iphone/touch app but it would require user entered data and returning values based on those entries. I have not watched all the instructional videos yet so I apologize if this is covered.

SQLite was mentioned in the presentation. I've never written a Mac app, but I'm curious how much effort is needed to connect to something like a remote RDBMS or Amazon's SimpleDB.

ChrisA
Mar 8, 2008, 12:32 AM
SQLite was mentioned in the presentation. I've never written a Mac app, but I'm curious how much effort is needed to connect to something like a remote RDBMS or Amazon's SimpleDB.

Most DBMSes have and special protocal that runs over TCP/IP that connects the client to the server. You don't have to know how this works because in all cases I know of there is a client library. SQL Lite works the same way from the programmer's point of view, you just make library calls but in the case of SQLite the library directly access the local file system. These libraries are at a fairly low level where yu are simply passing a SQL query string. The first call would connect you to the server and then you just send SQL strings.