The above code will make the browser alert with "Hello World!" (the result of the hello_world() function on the server. To see it for yourself click here.

What Can It Be Used For?

Any Web/JavaScript app that wants to exchange data with a PHP server. It saves you having to write your own framework and communication errors etc and is a lot simpler and lightweight than other existing frameworks.

By returning native JavaScript dynamic variables or Array objects (yes you can return array data) your code can use returned data straight away without having to process it in any way.

DOAP is Entirely Free

The DOAP software is licenced under the GNU GPL v3. This allows you to use it, abuse it, customise it or extend it as you wish for no money at all.

You can even re-release it but you must keep it free. For more information see the GNU GPL v3 which applies to the software or the GNU FDL 1.3 which applies to the documentation.