Going offline (Part 1)

Many mobile apps only work when they have access to a network. However, a growing number now support a disconnected mode. This is especially useful in the case of a fishing app, because some spots can be far out to sea. In this situation, a user should be able to store any catches locally. Later, when a network is available, the data should be synchronized with the server.

This updated approach has necessitated a change to the persistence framework; instead of assuming all calls will be made to a server, it will be necessary to swap persistence methods on the fly. This article will highlight the changes to the framework, and "re-implement" the online version. The next article will focus on the design and implementation of the offline code.