Java-Php Database Connector

Repository for the development of a database connector with Java and PHP. It is specially designed for Android because JDBC is not recommended but may be used in any Java application. This connector makes POST requests to connect to the database via PHP and the PDO library. Java uses the JSON library .

View project on GitHub

Java-Php Database Connector

Here you will find explained everything about the connector. It is really easy to use and is fully prepared to work with the MVC pattern. Java-Php Database Connector has been designed to connect to the database via PHP and PDO library's. This idea was born when we were working on an Android project and we needed to connect to an external database on our server. To solve the problem, we decided to develop this connector to have full control of the database. Java-Php Database Connector allows you to run any SQL statement against the database (DDL , DML ... ) .

Especially for Android

We designed this connector especially for Android but can be used in any Java application. In Android OS it is not recommended to use the JDBC connector and must make connections with the database via HTTP or HTTPS. Java-Php Database Connector solves this problem because it makes all connections over HTTPS ( Force to use this protocol, but can be disabled at the user, but is not recommended).

Work with MVC easily

Java-Php Database Connector is intended and designed to work with the MVC pattern. It contains interfaces for transforming the data from the database to the model class and map data from the model quickly to the database.

Authors and Contributors

This connector has been developed by No Future Corporation (@noFutureCorp) and Juan Jose Longoria (@Kanko). In this project we use third-party JSON libraries in Java side and PDO libraries on the server side.

Support or Contact

You have problems or bugs? Please write to Juan José Longoria (Author) or No Future Corporation (Company) to tell us the problem. If you solve the problem, please post the changes to this repository to create a bigger and safer project for everyone.