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.
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