mardi 3 février 2015

How to build a webapp that works offline and is able to sync with a webserver?


Vote count:

0




I'd like to develop a webapp with simple functionality:



  • Create an account (registration, login, logout)

  • Task-Management (CRUD)


The requirements are:



  • works offline

  • Sync (manually and autom.) with webserver

  • access the functionality via webbrowser via API (e.g. for dead zones)


My current plan (prefered technologies):



  • Webserver with PHP/MySQL

  • Symfony to build a stable infrastructure (Entities, FOSUserBundle, etc.), running on the webserver

  • Bootstrap 3 to build a responsive design

  • AngularJS for interaction

  • Cordova/PhoneGap to be able build the app for different operating systems

  • Store the data local with CouchDB


But



  • How to sync the local stored data via an (REST-)API with the webservers MySQL? (As "easy" as possible and preferably without redefining the entire db-structure)


It's a wide topic, sorry for that. I'm looking for best-practices and common solutions in the jungle of great libraries and many possibilities.


If you've improvement suggestion regarding my current plan, feel free to tell me your choice.


Thanks a lot in advance!


B.



asked 21 secs ago

Mr. B.

1,415






How to build a webapp that works offline and is able to sync with a webserver?

Aucun commentaire:

Enregistrer un commentaire