title: Advices on server implementation for server/client structure iOS App development?
body: <p>There are must be a lot of apps that are designed to communicate with server. My question is only about App installed on iOS device + Server side service interaction. Web app is not what I am talking about, and there should be no webpage involved in this discussion at all.  Typical examples are Apps like Instagram and Twitter, in which most of the information exchanged between the App and the server is just data like String, Image and Integers(wrapped in JSON or XML), no webpage presentation needed. </p>
  
  <p>My question will be: if you are an independent app developer, and you are designing such an app from scratch without any existing website API, database structure or application(so you are not limited by any existing API or database structure or application protocol), What will be the most efficient approach? </p>
  
  <p>What the sever side need to do are:</p>
  
  <ul>
  <li>receive data send by the App; </li>
  <li>process the data with designed logic;</li>
  <li>interact with database(like MySQL);</li>
  <li>do necessary data mining and analysis---this could be a constantly running service or one time task requested by the App client;</li>
  <li>send the data back to the App upon request or spontaneously;</li>
  <li>exchange or broadcast the data between/among different App clients (i.e.: group chatroom and peer to peer message);</li>
  </ul>
  
  <p>As far I as know there are 3 obvious options to implement the server side:</p>
  
  <ul>
  <li>PHP</li>
  <li>Python</li>
  <li>Ruby on Rails</li>
  </ul>
  
  <p>(please feel free to add more options)</p>
  
  <p>My questions are:</p>
  
  <ul>
  <li>which one is the most appropriate choice to implement the server side?</li>
  <li>If the App is focusing intensively on natural human language/text searching, analyzing and data mining, which one is the best choice? I heard Python is doing pretty good in this area. </li>
  <li>Any advice on the database choices? I am using MySQL for now, and I found it's quite powerful for my purposes, I heard Twitter is switching to Cassandra. Will that be too difficult to start with?</li>
  <li>For the server end, if you need to build a Server management interface, for you as an admin to manage and monitor the community, membership, data and such, is there any existing solution, or framework or tool for that? what will be the most efficient approach? </li>
  <li>If a new programmer has no experience in non of them, which one you suggest he/she to start with?</li>
  <li>Is there any good reference material or sample code on the server side in such context we can learn from? </li>
  </ul>
  
  <p>I know there are a lot of very experienced experts on these areas on Stackoverflow, but I saw more newbies who just entered the iOS developing area without much knowledge in server/database programming experience. And I hope this thread can help these who are thinking to design an App with server/client structure but have no idea where to start with. </p>
  
  <p>ps: I will keep updating this question thread and adding my findings on this topic, to help all other users at stackoverflow. :-)  Please try to make your answer informative, easy to understand, and constructive. I guess most of readers for this thread will be new members of this great community. </p>