SimpleDB library for Adobe Air / Actionscript

I’ve been working with Amazon.com’s SimpleDB webservice for some time now, developing a database exploration utility called Bolso using the Adobe AIR platform. I haven’t had to make any modifications to my actionscript library for a while now so it’s feeling stable enough to release to the public. So I’ve decided to make the source code for accessing SimpleDB via actionscript available to other developers out there. Hopefully others will find it useful and easy to use. The source is available as well as a binary swc both are available under the Apache 2.0 license.

I think the applications created on the Adobe AIR platform utilizing SimpleDB as the database layer make for an effective combination in many (but not all) situations. From my observations a lot of the Flex/AIR developers out there are coming from Flash and are unfamiliar with working on the server side with php or ruby and mysql. This SimpleDB library for actionscript makes it easy to incorporate a server side shared database into an Adobe AIR application without having to know a lot about server side development and maintenance. If you haven’t yet checked out SimpleDB take a look at the Amazon website.

As of this writing the actionscript library I’m making available has the following functionality:

  • support for signature version 2
  • listing/creating/deleting domains
  • creation/deletion of items
  • creation/deletion of attributes
  • queries
  • support for M/DB from M/Gateway

I’ve also created a helpful development tool called Bolso which allows you to view the contents of your SimpleDB and test queries.

NOTE: at this time the library does NOT work in a Flex application because SimpleDB doesn’t have a crossdomain.xml


Download actionscript library for accessing SimpleDB via Adobe AIR

***UPDATE: The latest source code for this SimpleDB Actionscript library can now be accessed via google code.

The SimpleDB library requires the excellent AS3 Crypto library.

There are some code snippets illustrating the usage of the SimpleDB library available.


About this entry