Like everyone else and their neighbour too, we're developing an app (ipad/android) for one of our websites that has functionality that people rather access in an app, for reasons passing understanding.
Well, my question regards how to think when it comes to backend for the apps.
We have a site with an accessible structure like so:
http://site/
http://site/profile/[user-name]
http://site/stuff
etc etc.
Is it wise or unwise of us to simply add a base for our apps like so
http://site/app
So the apps would access their model data and their controllers from this base, for example
http://site/app/profile/[user_id]
to get/set the data for the user (could be any object but in this example we focus on users) or is it better to separate the app backend from our site completely and go either subdomain
http://app.site/
or
http://anothersite_as_backend
or doesn't this matter at all to you?
I'm just interested in how you are going about combining your web backend with your app backend.
Thanks.