Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 933795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:53:30+00:00 2026-05-15T20:53:30+00:00

I am a new programmer who is new to iPhone development and server stuff.

  • 0

I am a new programmer who is new to iPhone development and server stuff. I have a lot of questions to ask.

You don’t have to answer all the questions; any help is appreciated!

  1. How does iPhone apps interact with server?
  2. Is there a particular kind of server i should use to interact iphone app with server?
  3. If there is no particular kind of server then what kind of server can be used?
  4. What are their advantages and disadvantages?
  5. What should the iPhone app (which is the client) do in order to interact with the server?
  6. How does the server know which iPhone to send data to?
  7. What should the server do in order to interact with iPhone app (client)?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T20:53:30+00:00Added an answer on May 15, 2026 at 8:53 pm

    Your best bet is to have your iPhone make web requests of a web server. Your iPhone app acts just like a web browser, making http requests to a web server, and parsing the response.

    I’m building an app right now that hits PHP scripts I’ve written that do database work, etc, and return JSON objects. It’s not fancy–I could have built a whole SOAP or RPC web service, but I didn’t do that, it just makes GET requests with query-string arguments.

    There are handy libraries you want to know about. Google “iPhone JSON” to find the JSON library written by Stig Brautaset, that’s the one most people seem to be using. Also, rather than putting yourself through all the hoops that the iPhone’s built-in web client framework requires, go get ASIHTTPRequest, a very powerful and MUCH simplified web client library.

    As a general rule, you want to do as much processing on the server as possible. For instance, there’s a place in my app I’m searching for events happening within a user-specified range of their local coordinates (“within 10 miles of me”). I wrote PHP to build a latitude/longitude bounding box, and query from the database based on that. That’s WAY faster than bringing a bunch of events down and then asking Core Location to calculate their distance from where I’m standing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.