title: Use custom (php) API in Stackmob
body: <p>The last week i started working on a small startup company,which is developing an iOS app. My position in the team is backend developer. I spoke with the mobile developers of they told me that they use Stackmob Backend-as-a-Service provider for the mobile application. Now,as a backend dev,i have to create a custom php (using CakePHP framework,if it matters) API which will store all data exchanged in the mobile app (in a MongoDB database,if it matters),run some algorithms that are required (including taking an input from the mobile app and then returning back a response,after filtering the input via the backend algorithms) and implement a user-to-user messaging feature for the mobile app again.</p>
  
  <p>As you understand,the php part will be totally invisible for the user,it only contains algorithms.</p>
  
  <p>Now,i'm a bit perplexed at the Stackmob part. How can i "connect" (or what?) the stackmob platform with my backend php algorithms,so that the mobile app makes use of both? I mean, the Auth users feature for example is powered by Stackmob. But how would i save into the database (into our infrastructure) the users' info? And also manage users' data and much other stuff? As they explained me, the iOS app has to use both stackmob services AND our custom algorithms (via our private API) which runs on our servers..</p>
  
  <p>Please,any tips about anything about that would be highly appreciated,or anything that could help me understand how should i work.</p>
  
  <p>Thank you in advance guys!</p>