Phonegap / Mysql Connection Remote without PHP

Asked

Viewed 846 times

1

I would like to make a connection to a remote Mysql database through an application compiled for Phonegap without the need to use PHP. The bank would not be inside the device but in the network where the device is connected.

Some sites say something about using Node.js but I didn’t understand how it does and I didn’t get any results.

Does anyone have any idea how to do?

I would like to do without PHP to avoid installing the PHP server on my network and the need for this language to make the connection.

1 answer

4


Not possible. Phonegap projects are done using Javascript that does not have direct database access functions.

About Nodejs, it is an environment that runs Javascript on the desktop. Due to the limitations of Javascript it has been extended to support access to the File System, Streams, etc. This means that for your application to use database access with Nodejs, you need Nodejs on the server to perform such an operation, and make your app access a Nodejs service.

Browser other questions tagged

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