Table of Contents
Programming Api Reference
The data formats handled by jQPie are extremely simple and and easy to use, while this library is PHP based it wouldn't be hard at all to program handlers in other languages. If your interested in helping translate to another language please contact me
Format - HTML
This is the simplest of all handlers. The idea is simple, what ever html your php function returns you can use jquery to inject into your webpage without any further processes.
Format - XML
Pretty much all the handler does is set the proper headers so your output is seen as XML, you can use what ever format you choose as its up to the javascript side of things to process.
Format - JSON
For requests that don't use the jqpie.js and jQPie_Response class there are no specifications at all, for those that don't wish to use the included php classes the format is pretty simple
$json['m'] = 'method' // Example would be addClass $json['a'] = 'args' // Example 'green', or an array of key based args
