I'm creating mobile apps with PhoneGap, and in order to be approved by the App Store, I need to write them from scratch using JavaScript.
I have been using the JSONRPC protocol, but it seems to have some trouble with authentication when I require normal authentication to still work with web2py views. Which protocol would you recommend I use for this use-case? Thanks for all suggestions, Alec Taylor PS: Note that login will initially be done the normal way, but in production will be done with Facebook --

