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

  • SEARCH
  • Home
  • 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 6184353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:31:26+00:00 2026-05-24T01:31:26+00:00

I am trying to decide on what is the best option for a small

  • 0

I am trying to decide on what is the best option for a small application I am trying to write while learning how to develop for the iPhone. I want the application to send a request to my website, which will in turn update the database and alert a user on the web screens. If this happens successfully a message should appear on the iPhone.

My database is MySQL and I am using PHP for the site. I had considered using REST or SOAP, but now I am considering just using the POST array on a HTTP request. Which is the best option to use and easiest to implement for a beginner?

Thanks,
BON

BTW Sorry if this has all been asked before, but I am trying to learn Objective C at the min and this is all new to me.

  • 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-24T01:31:26+00:00Added an answer on May 24, 2026 at 1:31 am

    There isn’t much more to REST than basic HTTP – the only parts that REST adds are conventions as to which HTTP verbs (POST / GET / PUT / DELETE) should map to which database operations, and how URL paths map to resources.

    SOAP is not a wise choice; it doesn’t offer anything truly interesting in this scenario, but introduces considerable overhead (both in terms of bandwidth and processing complexity).

    My choice would be a simple JSON interface over plain HTTP. If you’re running PHP under Apache, you can simply rewrite all requests to one handler script, and from there, analyze the original URL to perform the desired action. Returning JSON is simple and straightforward: build a nested array structure, call json_encode and echo the result. Whether you follow RESTful conventions (HTTP verbs indicate action) or simply use query string parameters (e.g. ?action=insert) is a matter of taste – query string parameters are easier to implement, HTTP verbs are closer to the RESTful philosophy.

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

Sidebar

Related Questions

I'm trying to decide what the best option would be for when an object
I'm trying to decide the best way of having radiobuttons switch around the contents
I'm trying to decide on the best way to customize an initializer for UIView
I am trying to decide the best way to structure some code. I will
I'm trying to decide the best way to provide templates for a bunch of
I'm trying to decide the best approach to implementing the majority of CSS styles
Intro I am trying to decide how best to set up my database schema
I am trying to decide on the best way to store my applications configuration
I'm trying to decide the best way to include an image that is required
Trying to decide the best solution for GeoIP look ups. The options seem to

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.