When you are working on a large project, there are alot of situations that the project is composed of more than one application. The problem here is how to solder everything together. There are alot of ways you can handle communication between applications, for example you can use XML, JSON, HTTP Requests, etc. If you are using PHP for building your project maybe the easiest way of handling communication is by using JSON.
There are two buildin function that you need to look at before starting:
- json_encode(): http://php.net/manual/en/function.json-encode.php
- json_decode(): http://php.net/manual/en/function.json-decode.php
We will use these two functions to serializing and deserializing the data that we need to send between applications.
