Im looking for the best way to build an on/offline application with symfony2. I need some advice here:
- Users can access the application from navigator on their computer or from tablet (like iPad)
- When there is no connection the application must run in offline mode
- Data should be stored locally until the detection of a connection
- Local data must be syncronized with server data
the question is : what is the best approach to implement this behavior knowing that the application must be developed with symfony2 (normal behavior).The main problem is the offline mode. Should i use HTML5 local storage or SQLite? and what is the best approach to syncronize data between the two modes (from server to local/or from local to server)