php / mysql application to work offline when network is lost

574 views Asked by At

I have a php/mysql application which i want to make it running even if the network connection is lost. so that the data can be synced later once the network is back. What would be the best architecture for implementing such an application ?

1

There are 1 answers

0
Jay S. On BEST ANSWER

You can host the application locally and access it through your browser as localhost/myapp

Take a look at WAMP. It should set you up with the things you need to host locally.

Once you come online, you can run a script that will diff your local mySQL database with your remote and sync changes.

Let me know if you need any other info, or if something wasn't clear.