PHP sample library for accessing SimpleDB in PHP. The samples include all SimpleDB calls as well as the new ConsistentRead = True and Conditional Put and Delete. The sample set also includes a basic SimpleDB backup/restore to S3 as well as a basic MP3 DB including uploading to the files to S3.
This is the sample set for my upcoming book from Packt Publishing Amazon SimpleDB Developer Guide by Prabhakar Chaganti and Rich Helms. http://www.packtpub.com/amazon-simpledb-database-developer-guide/
I have expanded Dan Myers SDB-PHP interface to provide all functionality of SimpleDB including the Feb 24, 2010 new ConsistentRead = True and Conditional Put and Delete. The expanded API also includes data normalization for numbers, dates, boolean and base64.
The samples can be run from this site with your SimpleDB key/secret key. You input the keys to PHP session variables. Also all source is displayed on the bottom of each program. The source package can be downloaded from the demo menu.
Please comment here with any issues. I am working on a faster restore version with multi-thread for restoring large databases.