I want admins login in a drupal website to create nodes that are specific to clients. And clients login in using a mobile app to retrieve the node's info.
I'm not a 100% sure of the best architecture practice for this. Any suggestions or tutorials?
For the website, I've got Drupal 7 with services 3 using Rest and I'm creating some nodes. I've got the Oath module set up but using session could be easier.
For the app, I followed the phonegap tutorial until it showed the phonegap hello word, then I just started modifying index.html.
PS:JQuery's AJAX Post probably not a good idea because the requests can not successfully retrieve data from a different domain, subdomain, or protocol.
PSS: If it's possible, maybe I should include Drupal for the mobile part too instead of just the website that creates the services. This way I can use drupal_http_request
PSSS: Looks like I could use php's curl but would it work with a simple phonegap env