First Post: Question with web app and iOS App.

Discussion in 'iOS Programming' started by Rafael.Lepin, Oct 24, 2013.

  1. Rafael.Lepin macrumors newbie

    Rafael.Lepin

    Joined:
    Oct 24, 2013
    #1
    Hey all, so I'd like to know how I can make an app that uses a SQL database for its data. An app like twitter or Instagram. They have both a web app AND iOS/android apps.

    Would it be as simple as purchasing a domain with GoDaddy for example? I could then create my database, but what are the best technologies to use with very frequently accessed databases, REST, JSON, etc. (I frankly don't know too much about either of those and was hoping y'all could shed some light) Would I have to have some type of SQL security programmed in my table? I apologize if my questions don't make sense...that's because I don't know the complete process of things.

    So once I have my database set up, how do I use JSON or REST etc in my IOS app to retrieve or upload pictures or information? is it just a few methods or an additional framework?

    Thanks in advance for your help.
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
  3. Rafael.Lepin thread starter macrumors newbie

    Rafael.Lepin

    Joined:
    Oct 24, 2013
    #3
  4. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #4
    I would prefer not to write one. I would prefer that someone else writes it for me. The commercial sites already have a REST API that I can use. So I wouldn't have to write any backend if I use their existing REST API.
     
  5. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #5
    All the commercial backends cost ludicrous amounts. I've bought my own domain and a MacMini server and I know SQL - I'm planning on putting it all together to start making some web apps once I have more time after graduating.
     
  6. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #6
    What happened to DROP? ;)
     
  7. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #7
    :D That's one of the projects I plan to host on the MacMini!

    Also, this fits in with DROP - you should only avoid repeating what other people have done so long as its the right choice economically. If they're going to charge you a lot for something you could implement at a much lower cost, then go for it.

    (You have no idea how happy I am that you just brought up DROP without me having brought it up first in this thread.)
     
  8. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #8
    Maybe it should be called DROPUOFF (Don't Repeat Other People, Unless Otherwise Fiscally Favored).
     
  9. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #9
    I was originally thinking DRYOOP (Don't Repeat Yourself, Or Other People), but I decided to settle on DROP because it just sounds more elegant and easy to remember (for people that use English, anyways.)
     
  10. moonman239 macrumors 68000

    Joined:
    Mar 27, 2009
    #10
    OP, I suggest you either:

    1) download an open-source server-side script and Objective-C class that will allow you to do what you want, or
    2) write a server-side script that outputs the requested data, then create an Objective-C class that makes use of the SDK's HTTP request code. Then you can have a custom class.
     

Share This Page