6
I’m creating a website and app with Phonegap, I’m new to programming for mobile platforms.
This site has a database and I want this database to be available directly in the App, but I don’t want remote access in the database.
How can I send a request for the PHP of the site, and it return me a result to be presented in the App using JS? You can make a BD "cache" in the App, make a copy daily, or when there is an update in the BD?
This question is interesting, because it deals with the creation of Apis, traffic and data exchange between different domains (cross-Omain), use of jsonp and possibly localstorage or indexdb/websql (for the "cache" of the database answers), it is quite something, but the subject is pertinent.
– Kazzkiq