title: Acessing a wordpress database from an iPhone App
body: <p>I've been asked to create an app that will get data back from a database where the CMS will be Wordpress. I've never used a CMS so I'm trying to get a (overview)picture in my head of how it could all work and what each of the components would be. And what a CMS actually brings to the party.</p>
  
  <p>Creating the app itself is pretty clear. I've done a few already. I've made a database before and shouldnt cause a problem. </p>
  
  <p>But what is going to be in the middle between the app and the database?</p>
  
  <p>Part A:
  I'm guessing iphone apps typically would call some php file that's hosted on the server? The php then would make a call to the database and return the data somehow, maybe as xml. But this is really basic and wouldnt require a CMS. Just a database and a phpfile, or am I wrong?</p>
  
  <p>Part B:
  If i wanted to run a check on the database every minute to see if any of the data in database was no longer valid and remove it if needed, that would require somekind of program running on the server. So that program would be Wordpress, since it is managing the content, so a content management system is actually needed and is for these kind of taskes. Am i understanding the role of CMS? </p>
  
  <p>Many Thanks,
  -Code</p>