0

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.

6
  • 1
    By the look of the requirements you don't really mean instant but something like near real time -- they are very different questions. Commented May 5, 2011 at 17:52
  • 12
    "Instant" communication? Break the speed of light barrier. Warning: common side effects include time travel and the complete unravelling of the space/time continuum. Commented May 5, 2011 at 17:59
  • @Rein: Just add a quantum tachyon accelerant. :-) Commented May 5, 2011 at 20:40
  • More of a question for stackoverflow, imo.
    – crazy2be
    Commented May 6, 2011 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
    Commented Jul 4, 2011 at 21:39

3 Answers 3

1

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.

2
  • 1
    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? Commented Mar 6, 2011 at 15:07
  • more like a standard 96 hour day...
    – jwenting
    Commented Jun 4, 2011 at 18:41
0

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

5
  • won't give you instant, will be a time delay of (depending on the performance of the servers, network, etc.) milliseconds to minutes.
    – jwenting
    Commented Jun 4, 2011 at 18:41
  • 1
    APN is nearly instant.
    – Zepplock
    Commented Jun 5, 2011 at 1:07
  • near instant isn't instant :) He's asking about instant, which is impossible.
    – jwenting
    Commented Jun 5, 2011 at 3:41
  • 1
    If you read his requirements you'll see that he does need instant.
    – Zepplock
    Commented Jun 6, 2011 at 16:43
  • or rather he says he needs instantaneous communications, no doubt without realising the implications.
    – jwenting
    Commented Jun 7, 2011 at 5:28
0

Socket.io.
You can use it with multiple languages (PHP, Ruby, Node.js, etc.) and it is pretty simple to get working.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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