How to make PHP web application work online and offline?

Viewed 40

I am new into web development. I have PHP web application which I created using some Rapid Development Tool. For now I can run it on the server with online database and as well i can run it on my local machine with local database (offline, using XAMPP).

The question is: How to make web PHP application that will be:

  • stored locally
  • be able to easily update somehow on different devices
  • will work with online database when internet is here. Once internet is not here, database will be switched to local one.
  • databases will be synchronized as well

Is there any software that can handle all of this? Or should I do it manually? Since I am new here, I have completely no ideas on how to realize that.

0 Answers
Related