The Amazon cloud, explained.

Home / Blog / SimpleDb and the iPhone - Part 3

To use my SimpleDb wrapper, your code should look something like the following:

iphone8

In the code above, I’m calling the QueryByAttributes method with no query expression, so I will get back all of my items with all of their attributes.

My SimpleDb class has a number of delegates that you can implement - one for each of the SimpleDb methods that it implements - as listed below.

iphone9

Well those are the highlights. Again, the code that I posted is not a complete implementation for the SimpleDb API. As I work on it more, I’ll post updates.

4 Responses to “SimpleDb and the iPhone - Part 3”

  1. Cesar R. Says:

    THANK YOU for sharing your code!

    Do you plan to make it an open-source project. If so, I’d be happy to contribute.

  2. admin Says:

    Thanks!

    I’m thinking about making it open-source; I’ve been pre-occupied with a few other projects, but hoping to dedicate some time to this in the next month or so.

    Thanks!

    Eric.

  3. Matt Says:

    Hi Eric,

    I would love to see this open sourced so I can contribute, in the meantime I’m about to implement the new BatchPutAttributes method, before I start have you got an implementation for this call? If so I’d love to grab a copy, if not I’ll get to work on it.

    thanks,
    Matt

  4. admin Says:

    I don’t yet sorry, I’ve been tied up with other projects. I’ll create an open source project - probably google code - shortly.