Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best way to implement this:

1.iphone/webBrowser user selects some products (a,b,c) to buy

2.the chosen products most appear on the iPad located in the Store. using a UITableView perhaps.

3.The store staff then decide if the products are available in 10, 20 or 30 minutes for pick up.

4.When the store staff chose the time(10,20,30 minutes) it must appear/communicate back to the users web browser or iPhone.

5.buyer comes to the store to pick up the products he buyed!

Im not really good in this kind of communication stuff! I need help! what is the best way to implement this? are there external api/plugin I could use? I already have an ftp server.

I can do all the graphics and User interactions. the only problem for is the communication between the devices?

Thanks for help.

share|improve this question
By the look of the requirements you don't really mean instant but something like near real time -- they are very different questions. – Wyatt Barnett May 5 '11 at 17:52
"Instant" communication? Break the speed of light barrier. Warning: common side effects include time travel and the complete unravelling of the space/time continuum. – Rein Henrichs May 5 '11 at 17:59
@Rein: Just add a quantum tachyon accelerant. :-) – Donal Fellows May 5 '11 at 20:40
More of a question for stackoverflow, imo. – crazy2be May 6 '11 at 0:19
Doesn't iCloud do most of this? Granted it is coming soon, but I think Apple would want their own service to be the top dog here. – JB King Jul 4 '11 at 21:39

I would suggest making a transactional webapp as a json/rest rpc service. This is probably the easiest way to do it. I have done a similar project and it was at most 1 day to get basic functionality.

Have a look at grails, play framework, ruby on rails or similar frameworks to get you started. A simple google search on builing json or rest webservices would be the way to go.

share|improve this answer
1 standard day of 5 hours programming and 3 attending meetings and asking people how their weekend was/will be, or a standard day of 12 hours? – Dan Rosenstark Mar 6 '11 at 15:07
more like a standard 96 hour day... – jwenting Jun 4 '11 at 18:41

You need a web service (Ruby on Rails, PHP, Java) and push notifications (Apple).

share|improve this answer
won't give you instant, will be a time delay of (depending on the performance of the servers, network, etc.) milliseconds to minutes. – jwenting Jun 4 '11 at 18:41
APN is nearly instant. – Zepplock Jun 5 '11 at 1:07
near instant isn't instant :) He's asking about instant, which is impossible. – jwenting Jun 5 '11 at 3:41
If you read his requirements you'll see that he does need instant. – Zepplock Jun 6 '11 at 16:43
or rather he says he needs instantaneous communications, no doubt without realising the implications. – jwenting Jun 7 '11 at 5:28
You can use it with multiple languages (PHP, Ruby, Node.js, etc.) and it is pretty simple to get working.

Or if you don't want to specifically develop for Socket.IO, a very nice startup called Pusher can help you do this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.