Posts

Showing posts from April, 2022

Offline Apps Patterns and Tools

Apps capable of running offline provide a great user experience even when there's slow/unreliable or no network/internet available. They also minimize data usage and save battery power when run on mobile devices. Design Considerations: Upfront, both front and back end must be designed to work offline.  Think about features that cannot work in offline mode. Single users using the app on multiple devices. Automatically sync data (uni/bi-directional) stored locally on the device with the central database once the app is able to connect to the internet.  If the app is allowed to be used from multiple devices, conflicting data changes made by users and any data sync conflicts need to be handled. To make UI work offline, in the case of Mobile applications, there's nothing to do, but web applications will have to use something called service workers. By implementing a service worker, you can turn a regular web application into a Progressive Web App, making it downloadable and install...