title: How to connect to the server in android development using Phonegap?
body: <p>I am new to mobile development. I am given with an Android project to develop with PhoneGap. I have just successfully installed PhoneGap on eclipse. Now I am wondering whether development with Phonegap allows server communication with php.</p>
  
  <p>I am basically a web developer with intermediate knowledge of PHP and MySQL. I am aware that mobile devices are slower than desktops/laptops and most likely to have a slower bandwidth connection. In this case, will this be effective to use PHP as a server side language and MySQL as my choice of database ?</p>
  
  <p>In web applications, I used to create an include file, header and footer pages. Include file with server connection code, header file with js and css links for the header and footer with js and css files for the footer content. I hope most of the web devs here do the same. Can this method be used with phonegap mobile applications as well ?</p>
  
  <p>I did searched over the internet to find a solution for my questions, but I couldn't find anything specific or particular solution for this.</p>
  
  <p>Note - The mobile application project I am working on requires to contact the server very frequently as it is for a shopping portal and I am going to use Jquery Mobile for the application UI.</p>