When I was working through this chapter, I notice that the database is residing locally. The web services chapter (21) does not store any data locally (no filepath). My question is, for those complicated apps (facebook, etc) in which you passes a lot of data between the server and your phone, how is the communication made. For example, do you use a NSURLConnection to connect to the web server? Then do you run a web application (php, aspx) like upload a picture and let the php/asp do the heavy database stuff? And then when it is done, the picture you see on the iphone, is that a local copy or is it being hold in a NSDataArray (?) and loaded into an image view?
Is it possible to create a connection to a web server and pass along database commands like sql? Or the best way to accomplish something like that?
A little bit of background, my only experience with objective C is from this book. I am tasked to develop an enterprise application involving talking to databases via wifi and other stuff. It involves multiple teams in multiple departments but I’d like to at least understand the bits and pieces that will make it smooth.