The application is developed on ionic (angular.js), with the ability to work without the Internet with data from the cache. For cache, I chose SQLite. If the application was only on-line, the issue of data binding would be solved at the angular level. But since between sessions you need somewhere to store data, then the question arises with their synchronization. Maybe there is some standard solution for organizing the cache? And then manually enough dreary.
- oneyou can save data to localStorage, for an angular there are modules for using localStorage in an angular ( github.com/gsklee/ngStorage ) - Sergii Chenakal
- I know that they often ask about replacing LS with SQLite in ionicframework.com . It seems to work. But this is a framework. Switch to it for one feature, is it worth it? - oshliaer
- @AlexanderIvanov, Do you think that data duplex binding is "one feature"? - DenniLa2
- @ DenniLa2, did not notice the tag. - oshliaer
|