Phonegap / Connection with MySql Remote without PHP

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 the network on which the device is connected.

Some websites say something about using Node.js but I do not understand how it works and I did not get any results.

Does anyone have any idea how to do it?

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

    
asked by anonymous 16.09.2014 / 18:34

1 answer

4

Not possible. Projects in Phonegap are done using JavaScript language that does not have functions of direct access to the database.

On 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 have your application access a NodeJS service.

    
04.10.2014 / 17:05