Every application (desktop, web, or mobile) needs to store (and access) some data in order to work properly. How to store the data depends on the kind of information the application will work with and on the environment in which the application will run. A web application, for instance, can rely mostly on server storage because it runs on the Internet. Most advanced web applications implement an offline strategy and store some data locally on the user machine.
When working on an app, it's very important to consider how to handle the unstable data connection that typically is available on mobile devices. You have to design your app thinking of it as occasionally connected software. The term occasionally connected computing usually identifies a software architecture based on the idea that an end user should be able to continue working with an app even when temporarily disconnected or when a wireless connection is unavailable (for a deeper overview, refer to the online...