What database types can be applied in a mobile app using apache Cordova?

Asked

Viewed 2,883 times

3

I wonder if it is possible to build mobile apps with databases using apache Cordova, and if it is also possible to integrate with a database in another location, like an external database that keeps sending data to the app (no big deal, like most apps). I don’t know if it’s possible. I searched and I couldn’t find any material. Can anyone tell me if it’s possible and how? Or may indicate some material (may be English).

1 answer

2


While doing some research, I found this page here, about a local bank:

From the first link:

"This API is based on the W3C Web SQL Database Specification and W3C Web Storage API Specification. Some Devices already provide an implementation of this spec. For those Devices, the built-in support is used Instead of replacing it with Cordova’s implementation. For Devices that don’t have Storage support, Cordova’s implementation should be compatible with the W3C Specification.

This API is based on the SQL Database Specification of the WEB, from W3C and the Web Storage API Specification. Some devices already provide an implementation of them. For this case, the The device’s feature is used instead of the implementation of Córdoba. For devices without "persistence" support, the implementation of the Cordova must be compatible with the W3C specification.

As for making the uploads to the remote database, you could for example work with simple requests, reminding AJAX of life and, using the language that receives them on the remote server, save it to the database.

Here’s a topic from our Gringo Stack brothers:

  • If you have a simple example of using Cordova application using BD, please pass it on to me. Thanks for the reply.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.