views:

134

answers:

3

Dear all,

I have decided to develop a native iPhone apps as a compliment to our webapps. Now I am wondering what are my options to send data remotely from the iPhone apps - since the database is online - to our online database. What I can think of on top of my head - since I come from web dev background - is JSON. My webapps is built using Rails, so I figure it would not be difficult to accept JSON request from the iPhone apps. But the next question is, is it difficult to send JSON data remotely from the iPhone apps? If JSON is not recommendable, what are my other options?

Thank you so much for the assistance. Really appreciate it.

+3  A: 

You might consider using this lib: http://iphoneonrails.com/

Jakub Hampl
Will my application still be a native iphone apps? Because I still want the apps to be distributed at Apple app store.
jpartogi
Sure - it's a pure ObjC framework.
Jakub Hampl
A: 

See json-framework for an Objective-C framework for packing and unpacking JSON objects.

Alex Reynolds
A: 

You could take a look at http://github.com/jeena/plistifier it uses binary plists so you don't have to parse them on the iPhone on your own and they are 1/10 of the size of XML.

Jeena