First of all i would like to apologize if my question doesnt make so much sense , as i am very new to these concepts.
We are building a mobile web application which has 2 parts.
1) The "back-end" server part which i am currently building , that is php-mysql , where i take care of all data to be stored in the database , i make queries etc.
2) The "front-end" part. This will be developed in jquery and will be the mobile web site. This "web site" will be available through a mobile application by opening an "in application browser" . Note that i ve never used jquery before. The architecture of the application was that every time a mobile phone connects to the web-site (jquery) , we send along with the URL the deviceID of the phone. Then when the user does anything at the site like subscribe to some kind of events , i "send" this subscriptions to my "back-end" server and save them to database.
My question :
As i said i dont know jquery. Both jquery and php will be deployed in the same machine. That means (i guess..) that i could through jquery have instant access to my databases and save users subscribtions. However because i dont know jquery i want to do the minimum staff with it. So i would like to pass these subscriptions to my php scripts and handle them there.
How do i "pass" the subscriptions between the 2 servers that are deployed in the same machine? Do i need to make an http post request? Thats what i do to make the mobile devices , connect with the server but i guess that when they are in the same machine there should be another way right? We use HTTP requests for remote connections right?