Download S3QLgoodies.php (at the bottom of this page) and under the same directory, create a script: example.php
Inside example.php add the following lines:
You can now refer to you s3db project (to build new queries, for example) by their indexes in the array:
The library also includes uploading and inserting files on s3db
METHOD 1Download s3ql_js.txt
Download jsonpp_js.txt from JSON, JSONP, JSONPP? and in the same directory create a script: example.html
See JSON, JSONPP, JSONPPP library for examples on handling JSON variables and JSONP callbacks.
This method makes use of a library that translates the S3QL compact notation into the XML S3QL notation.
First, you will need the library that makes the translation, available here.
Second, you will need the jquery library for quick Ajax calls, available here.
Download S3QLSyntax.m, html2cell.m and s3db_read.m (at the bottom of this page) and create a new script in the same directory (example.m)
You may also want to use matlab to upload large file into S3DB, for that purpose download the function move2s3db.m and base64encode.m (in case your version of Matlab does not have it yet)