Best way to go about storing data on the cloud

Discussion in 'iOS Programming' started by spinedoc77, Oct 1, 2011.

  1. spinedoc77 macrumors G3

    spinedoc77

    Joined:
    Jun 11, 2009
    #1
    I've built an app which will have customers input data. I'd like to have that data available to them over the cloud. These are just simple data inputs, nothing too complex.

    I'm a new programmer, I've learned enough objective C to write my app, but now I need to connect the data entered. Can anyone give me just a super general sense of direction where I should begin researching. I'm a self starter and can research and learn, but there are a lot of choices out there and I'd like to at least know I'm going in a good direction.
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    The general solution is to have a web service that you can access from your app. Communication is usually by http POST/GET and some kind of communication protocol. Most commonly NSURLConnection is used for this although there are some third party classes for doing http communication also. Depending on your app's needs the web service might be backed by a database or it might just write to a file or read from files on your site.

    If you are a web developer or you know one you might develop your own web service and host it on your web site. If you don't already know how to do that it might be a bridge to far. It was for me. There are some commercial databases that provide web service front ends or web service communication protocols. These might be SOAP or REST. My experience is that SOAP is overly complicated and that REST apis tend to be straightforward to work with from a mobile app. YMMV.

    One site I'm familiar with that provides a REST front end to a database back end is mongolab.com.
     
  3. spinedoc77 thread starter macrumors G3

    spinedoc77

    Joined:
    Jun 11, 2009
    #3
    Thanks, that give me some direction and research.
     

Share This Page