thsoto
asked on
REST web service for pulling info for an iPhone app?
I am in the process of making an iPhone app. It will have a Calendar of Events and a Phone Directory. How would I access the web server to get the database info?
The flow of the Calendar would be:
Home Screen > Event Categories > SubCategories (if needed) > Today's Events with a button to go forward or backwards in the events > Event Detail
We thought about pulling an XML file of everything in the Calendar, but that file could get pretty big and cause the app to run slow. I have since been researching REST web services to output only the info we need for each view in XML. Would this be what I would need? If so, how do you create one in PHP and MySQL? I haven't found an online tutorial that could teach me how.
Thanks!
The flow of the Calendar would be:
Home Screen > Event Categories > SubCategories (if needed) > Today's Events with a button to go forward or backwards in the events > Event Detail
We thought about pulling an XML file of everything in the Calendar, but that file could get pretty big and cause the app to run slow. I have since been researching REST web services to output only the info we need for each view in XML. Would this be what I would need? If so, how do you create one in PHP and MySQL? I haven't found an online tutorial that could teach me how.
Thanks!
ASKER
Thanks.... I have it set up now, I just don't know how to mask the url.
What do you mean?
ASKER
I need the URL to look like
www.example.com/eventcat/eventsub/year/month/
instead of
www.example.com/getevents?cat=birthday&month=april
www.example.com/eventcat/eventsub/year/month/
instead of
www.example.com/getevents?cat=birthday&month=april
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help. The Google links didn't help much. We found some other info that helped us. However, I believe that the last link you sent is beneficial.
Great - let us know what you came up with
I only have second hand knowledge of java rest
I only have second hand knowledge of java rest
http://www.google.com/search?q=restful+web+service+php+tutorial
http://yourserver.com/eventcat/eventsub/year/month/day
would be a nice url to manipulate