PHP HTML MySQL for offline solution

196 views Asked by At

I am trying to develop a website using PHP and MySQL that support for offline.

My requirement would be:

  • when internet is down, user able to use the browser and browse to my full website and doing normal operation. 2
  • By doing normal operation, it means user are able to perform normal CRUD functionality.

  • CRUD work with mysql, which when internet is down, mysql is still running locally and when internet is back, there will be a sync process to sync local mysql into server db.

Any suggestion of solution or links to the solution for this is much appreciated.

1

There are 1 answers

1
PiranhaGeorge On

Off topic, but look at the HTML5 Web Storage API (specifically local storage). There are many tutorials explaining how it can be used for offline web apps.