I have a fairly standard rails app and would like to be able to access the basic CRUD (Create, Update, Delete) operations as well as queries I have added, from an iPhone app. Rails provides the REST API for these operations more or less out of the box.
What is the best approach to deal with the REST/XML part on the iphone, and are there any good objective-C libraries that do this kind of thing already? The operations will also need to be associated with a particular user (i.e. authenticated).
This is a common problem for me, so much so that I’ve been working on a port of the Rails ActiveResource framework called ObjectiveResource.
We’ve had two releases of the project so far. 1.0 is already in use by a few applications in the App Store and can handle the default to_xml and to_json resource handling built into Rails. 1.01 is a bugfix release and a drop in upgrade.
We are currently working on defining the feature set for 1.1. We have quite a few ideas already, and are discussing more on the mailing list.