JSONobject of your data using
Web Servicethat might be in
PHPor whatever you prefered.
Web Servicethat displays your data in
You have to take care about Data Confiction. for that you have to take one that store some value both side likelast sync date/time.
PHP JSON Parsing.
XML-RPC is a simple, portable way to make remote procedure calls over HTTP. It can be used with Perl, Java, Python, C, C++, PHP and many other programming languages.
Synchronous communication is direct communication where the communicators are time synchronized. This means that all parties involved in the communication are present at the same time. This includes, but is not limited to, a telephone conversation (not texting), a company board meeting, a chat room event and instant messaging.
Asynchronous communication does not require that all parties involved in the communication to be present at the same time. Some examples are e-mail messages, discussion boards, blogging, and text messaging over cell phones. In distance (specifically online) education asynchronous communication is the major (sometimes the only) method of communication. Usually, we use different discussion boards in each class with each having its own purpose.
When I call you on the phone, I dial your number and WAIT until you pick up. Then you say something, and in the very same moment I listen to you. When you finished, I send you data (talk to you) and in the same moment you receive them (listen to me). At the end of our communication one of us says “END OF TRANSMISSION” (Good Bye), the other says “Acknoledged” (Good Bye) and then both ring off.
I write you a letter. I put it to the postoffice, and it will be sent to you. I the meantime I do NOT WAIT. I do many different other things. Then you receive the letter. You read it while I still do many different other things. Then you write me an answer and send it to me. In all those things I am not involved. At the next day I get a (synchronous) message (a signal) from the system (postman). It (he) says: “Here is a message for you”. Alternatively I could poll my inbox every five minutes to check if a new letter is there. Then I pause my other work, receive your letter and read your answer. Then I do something according to this answer. But this are things you will not notice, because you are not involved in what I do with your asynchronous answer.
If you write this yourself these are some of the points to keep in mind
RESTful web API HTTP methods
Resource 1: http://example.com/resources
PUT:Replace the entire collection with another collection.
POST: Create a new entry in the collection. The new entry’s URI is assigned automatically and is usually returned by the operation.
PUT:Replace the addressed member of the collection, or if it doesn’t exist, createit.
POST:Not generally used. Treat the addressed member as a collection in its own right and create a new entry in it.
Both are used to create.
Used to modify and update a resource
POST /questions/<existing_question> HTTP/1.1 Host: wahteverblahblah.com
Note that the following is an error:
POST /questions/<new_question> HTTP/1.1 Host: wahteverblahblah.com
If the URL is not yet created, you should not be using POST to create it while specyfing the name. This should result in a ‘resource not found’ error because
<new_question> does not exist yet. You should PUT the resource on the server first.
You could though do something like this to create a resources using POST:
POST /questions HTTP/1.1 Host: wahteverblahblah.com
Note that in this case the resource name is not specified, the new objects URL path would be returned to you.
Used to create a resource, or overwrite it. While you specify the resources new URL.
For a new resource:
PUT /questions/<new_question> HTTP/1.1 Host: wahteverblahblah.com
To overwrite an existing resource:
PUT /questions/<existing_question> HTTP/1.1 Host: wahteverblahblah.com