I'm entering and studying the Phonegap / Cordova world and I want to start developing cooler and more interacting apps, but I'm finding this limitation in most places I find to learn, databases for apps using Phonegap / Cordova are local and I would like to know if it is possible to make an application using these tools (securely) with an external database and if so, how to do it.
obs: I already found questions with answers right here that said that it was possible to connect to the bank with JS, but on the other hand, it was not safe.