0

Get ready because this may be a prett nooby question.

Lets look at an app like twitter. You can post a tweet and others can view if from their phone. How ? It uploads and retrieves to and from a database.

Say I wanted to create an app like twitter where you can share pictures and it shows up in someone's feed... How would that work?

In xcode, how can I create an app that uploads an app to a database and another user can press a Button to retrieve it. Is there a database API or service?

I'm just kind of stuck on this, I'm not sure what the correct way is. How can I upload data to a database so another user can see it in their app?

I'm not asking for code, just links, simple steps, APIs? I just don't know how it works and can't really find resources because I don't know the right terminology...

Would uploading to core data then syncing Core data with a database (again what database can I use?) be easy and the best way to do it?

Update:

Ok, so you have given me some great answers. php files on web services / servers, could you point me towards a book (on amazon) or something that can guide me through this whole process. I want to start up and work my way through this, I am not sure which is the best way, all these possibilities overwhelm me!

So any big resources that can really help me understand? I dont mind even starting with just uploading a string to a web service backend and retrieving it!

Thanks!

4

2 に答える 2

2

Hi try this tutorial it is simple and just what you need to get an idea how thing works .

How To Create an App Like Instagram With a Web Service Backend – Part 1/2

http://www.raywenderlich.com/13511/how-to-create-an-app-like-instagram-with-a-web-service-backend-part-12

There are a lot more tutorial on that website . Have fun.

于 2012-11-12T06:18:22.953 に答える
1

If you do not want to make your own server, then take a look at Parse, they give you API to work with their cloud database, it should be a good starting point and very well documented.

If you do want to make server side yourself, then it's a much broader question. A popular way to do it is to have a web app, say written in Rails, with REST API that you can talk to from the app. See this tutorial about creating photo sharing app on heroku, it will get you started, and overall it's a good overview of how things like these work.

于 2012-11-11T15:27:20.680 に答える