Library to write PHP web service for android consumption
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4603975/framework-for-providing-api-access-to-website">Framework for providing API access to website?</a>  </p>
</blockquote>



<p>I need to write a service in PHP. The server will be used by android/iphone clients through the url for example like this</p>

<pre><code>http://www.myservice.com/query.php?param1=a&amp;param2=2...
</code></pre>

<ul>
<li>The server will return data back </li>
<li>The client will push data to server </li>
<li>There can be large num of clients simultaneously accessing so the performance is key</li>
</ul>

<p>I want to use the data format that is easily understood by my android client. In other words, I do not want to reinvent the wheel and create my own format and parsing, instead I would prefer to use any library if it exists. 
Is there a framework that I can use to abstract the communication mechanism for data get and push ?</p>

<p>Thanks, 
Ahmed</p>
