lundi 14 mars 2016

Apache cordova php mysql client/server apps

I am using Apache Cordova to create two hybrid apps (App1 and App2):

  • App1 to be installed on Phone1 (Android or IOS), it acts as a server and includes a database that is accessed by clients only over wireless connection (without internet).

  • App2 to be installed on clients phones (Android or IOS), it makes CRUD operations on App1's database over wireless connection. App1's database will accept requests for only 30 minutes/day and then the connection is closed.

My question is what is the best scenario that I should use?

  1. Can I install Wamp server (or any other free web server) on Phone1 to use php+Mysql?

  2. If no, is an Sqlite database created by App1 and accessed over peer to peer connection using Javascript a good choice?

  3. If no, the clients are not far in distance from Phone1, what about Sqlite access over Bluetooth?

  4. Is Phone1 able to serve multiple clients that are requesting CRUD operations at the same time?

Regards.

Aucun commentaire:

Enregistrer un commentaire