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 7869259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:15:41+00:00 2026-06-03T01:15:41+00:00

Okay so I wanna create an iPhone app that communicates with a WEB Service.

  • 0

Okay so I wanna create an iPhone app that communicates with a WEB Service. BUT there are 2 points that aren’t clear to me.

  1. When A user presses a button in the app, it informs the web service of the action and web service sends push notifications to the corresponding users. Since the no. of users to whom the notification has to be sent may be large, I was thinking of sending a response (OK/Error) to the iPhone app and then continue with sending the notifications. In other words, the PHP script should accept the request, respond to it and after responding, continue with sending notifications so that the iPhone app does not have to wait for the service.

  2. The service will require to send push notifications to a lot of users. And I’m writing the web service in PHP. So is there a more effective alternate to PHP? Or is it the best way to implement the service?

Thanks.

  • 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-06-03T01:15:45+00:00Added an answer on June 3, 2026 at 1:15 am

    I’m assuming the key issue is that you want to respond to the user immediately and then do other work such as sending out notifications asynchronously.

    I would suggest using some kind of queue system such as Gearman (though there are plenty of alternatives such as Rabbit). You can get your interface to put a job into the Gearman Queue and then write a Gearman Worker to pick up notification tasks from the queue

    You can do this kind of work in PHP, but if you do then you might want to use the Gearman Manager PHP library as PHP is not the best language for long running processes. Gearman Manager starts and stops scripts for you and makes it easier to write workers in PHP.

    http://gearman.org/?id=gearman_php_extension
    https://github.com/brianlmoon/GearmanManager

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

Sidebar

Related Questions

Is there a distributed application framework (commercial is okay as well) that supports iPhone
Okay So I create a ListView and my own ListAdapter but whenever I add
Okay, that's phrased awkwardly, but what I'm looking for is a script that checks,
Okay, I'm trying to create a custom client for Minecraft (don't worry, my question
Okay, so this seems simple, but I can't think of a straightforward solution; Basically
Okay, so I know how to get a list of accounts so that I
Okay, I feel like I should be able to do this, but I have
Okay so this has been modified there is still 3 tables board, account, log
Okay, so this is a long long shot but here it goes... When IE
Okay, I have setup up a handler for a div click but for some

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.