I work on some iphone/android apps and the “data stored on a centralized server” pattern seem fairly common.

So far, I have done one app like this, doing everything myself at a low level without using many libraries:

  1. MySQL database
  2. PHP/HTML web forms allowing the app manager to enter/update content with some validation
  3. PHP scripts turning the SQL data into downloadable XML files
  4. App code (java/objective-c) to download the XML files, parse them and turn them in some proper objects then displayed in the app UI

As you can imagine, that is very tedious and boring and there is lots of duplicated stuff. Also, it was interesting to do it once that way to understand how it works but I’m sure some libraries do it much better that my own php/java/obj-c code.

Now, I will have to work on something similar and I’m looking for some sort of API/service that will do most of this work for me but still allow me to alter/customize what I need to (e.g.: web form validation so that the app manager doesn’t break the integrity of the database, e.g.: plugging with my own classes).

So I’m looking for the best generic solution that cover all the steps above plus the case when the app can insert/update data as well (download and upload). (Note the library shouldn’t have a licence that prevents me from selling the app)

Let’s say I have to build an app about cars, I want to store the car data in an online SQL database with some HTML forms allowing the app manager to add more cars (but only allowing him to enter validated data). I want the app user to be able to download the cars and insert new one in the online SQL database from his phone.

What library/API would you recommend? What service would save me the most time while still allowing flexibility?

1 Answer 1


Django's admin interface for the CRUD admin website, an RPC-like mechanism for communicating with a server-side API from the clients, probably there are decent libraries to export Django methods over XMLRPC (something like http://pypi.python.org/pypi/django-xmlrpc)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.