Calling Function from Other Functions

It is possible to chain functions in such a way that they invoke each other in a specific order. The overall script will include all of these functions so that they can call each other.
An alternate way would be to use the HTTP post request.