• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1077
  • Last Modified:

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!
0
thsoto
Asked:
thsoto
  • 4
  • 3
1 Solution
 
Michel PlungjanIT ExpertCommented:
0
 
thsotoAuthor Commented:
Thanks.... I have it set up now, I just don't know how to mask the url.
0
 
Michel PlungjanIT ExpertCommented:
What do you mean?
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
thsotoAuthor Commented:
0
 
Michel PlungjanIT ExpertCommented:
Here is a good discussion
You need to use a framework or at least interpret the pathinfo in a front controller

http://stackoverflow.com/questions/2121069/rest-style-urls-and-php
0
 
thsotoAuthor Commented:
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.
0
 
Michel PlungjanIT ExpertCommented:
Great - let us know what you came up with

I only have second hand knowledge of java rest
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now