New to iPhone dev here. Just wondering what’s the best way to connect an iPhone app frontend (based on Cocoa) to a php/MySql based backend?
The iPhone application will frequently access and change data stored on our server.
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
You will need to create a web service that will expose a set of APIs that are then use by your iPhone app to push/pull data. You may then choose to cache the data locally (on the iPhone) in a sqlite3 database.
The most common data transfer formats are JSON and XML.