I have a web service that I want to build a Cocoa client for. But first, I have to rebuild the web services on a more modern and robust framework. However, it seems prudent that I should be thinking about the upcoming Cocoa version during this process.
It seems all the cool kids these days are building APIs for their web services, and then dogfooding their own APIs for use with their own web/html/js and Cocoa/Android/etc clients.
So, if I was to take this approach, is there a particular data-interchange format that is conducive to both web and Cocoa, e.g. JSON, XML?
I'm pretty affluent in PHP/CodeIgniter, JavaScript/jQuery. Between those and the upcoming Objective C/Cocoa work I'll need to do, is any one of these interchange formats intrinsically easier to implement, e.g. has better CI, jQuery, or Cocoa framework support?
UPDATE:
The kind of information going back and forth will involve synchronisation of a database global to every user of the service (3-8K records, 15-20 fields each) as well as records individual to that users (10-3000). Therefore, the first synchronisation will be quite large, but successive ones a bit smaller.