Please forgive this simplistic iphone development question. I have written a web application in PHP and perl using a MySQL backend. The users log in with a username and password, and then are able to navigate around the site looking at there respective data.
I have decided to begin developing an iPhone app which will interact with the server (Linux Redhat that I have full control over). Now I know this is possible and I’m sure there are many tutorials out there to help so I am not asking for a ‘how-to’ here. What I would like to know is what should be my approach ie where do I start?? Some questions…
1) Should I be using a web service installed on my server, and if so which one?
2) How should I pass username and password data to the website if not using web service?
3) How easy is it to send the username/password, and receive any data securely ie HTTPS?
4) The old debate of JSON or XML for receiving data +/- sending login details??!
As I said, I am just looking for ideas/pointers on how to approach this project.
Thanks once again,
Andy
1) It’s up to you, you can create a RESTful web service and iPhone application which I personally preferred.
for 2),3) see
4) use JSON, it saves your bandwidth.