Closed (fixed)
Project:
JSON server
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2009 at 02:48 UTC
Updated:
16 May 2011 at 16:46 UTC
Jump to comment: Most recent
Comments
Comment #1
seutje commentedI'm sure that there are better formats than JSON for use with iPhone dev
Comment #2
scottgifford commentedWe ended up using JSON for an iPhone app. We created the POST body manually (it was fairly straightforward) and used Stig Brautaset's Objective-C JSON framework. Googling a bit, I see a JSON Over HTTP On The iPhone Tutorial. I wrote the server side not the client side, but our iPhone developer reported it was fairly straightforward, and had less problems than the XML-RPC client we were using before.
Comment #3
irishgringo commentedon the server side? what did you do? I am about to try some of this a little latter in the month. any sugestions would be helpful
Comment #4
scottgifford commentedOn the server side, we just used the Services and JSON Server modules and everything pretty much worked. The Service Module Example provided a good start.
We ran into a few small problems, I reported bugs and posted patches for most of them, if you run into trouble definitely glance through the trouble tickets.
Comment #5
yellowpeter commentedGreat job! If you need any help especially the client-server side communication please drop me a mail. We have gone thru the whole process when developing Tapatalk (http://www.tapatalk.com), a vbulletin/phpBB forum client on iPhone. And in case you have started on the Forum module let us know how it goes and see if there is something we can work together.
We are looking into the possibility of porting it to Drupal.
-Winter
Comment #6
abritez commented@scottgifford I've been trying to do similar, how ever having crossdomain issues, and not having much luck with the JSON/P patch. If you don't mind me asking, how did you get around this? Thanks so much, seems like I have been going in circles with this issue.
Comment #7
mrgoltra commentedsubscribing.
Comment #8
nickvidal commented@abritez
Regarging JSONP:
http://drupal.org/node/624898
It's simple. If you need further help, let me know.
Comment #9
irishgringo commentedwith the iPhone 3.0 SDK... would you still use Stig Brautaset's Objective-C JSON framework.?
what is the benefit as oppose to using the native stuff?
also, if you were to do it again, would you do anything different?
Comment #10
Anonymous (not verified) commentedI'm going to be making an official 6.x release this month.
I haven't been really involved with this project but have been using it.
I have been doing iPhone + Drupal for a while now. I have a DrupalClient objective-c object you can find on github. That one is an older version that I will be updating really soon. The current github one runs off XMLRPC of services. My new one is strictly json.
I find the biggest challenge is having clean data sources coming from Drupal.
The default views services suck. The main problem is that the results they pass do not provide 'formatted' fields and with how a lot of the logic with fields work, this is incredibly important to make views services even useful.
I'm happy to contribute everything I have that has made this easier for me however I would love to find someone to work with that would start a new version of views_services that actually makes sense.
Closing this for now since it is not the right place for it but I would love to see more discussion about it.
Comment #14
heliod commented@yellowpeter
Is something happening regarding Tapatalk with Drupal ?
Helio
Comment #16
mrgoltra commentedComment #18
seutje commented@mrgoltra: why did you just pipe this into the core issue queue, even though it's set to closed? o.O
Comment #20
mrgoltra commentedSorry, my bad. I don't know what happened. I was just reading the thread and didn't expect to change something.
Comment #24
kylebrowning commentedhttps://github.com/workhabitinc/drupal-ios-sdk