David Marko 12 December 2011 07:00:00Application has the ability to work offline to provide an access to the data without the connection. This feature is available on the desktop browsers or on iPhone/iPad (iOS5)/ Android. Technically the application uses local browser data storage, which is available as a part HTML5. (in the browser user has to grant an access to the local data storage). This data store is usually limited to 5 MB per domain.
1. Switching online / offline
When connected, user has 'My local data' section available on the home page together with the navigation buttons to contacts and reminders and the other on-line feature. If there is no connection to the server, the homepage has switched to the off-line mode, displaying just off-line section as showed on the pictures below.
2. Adding contacts to the local data.
Company and person form has buttons which allow to add contact into local database. Simply clicking the button database data are copied into the local storage and are available from 'My local data' section.
3. Updating local data from database in on-line mode
User can update local stored data from server in on-line mode. Just click the 'update all local data now' will update all contacts data and reminders with their current representatin in the database. It just simply mean that when someone has updated phone number on the person document on the server, those changes are being reflected into my local data.
Usage scenario is simple here - if you are working with some clients and you need this information off-line, just put their contact information into your local data
Complete project with downloads, screenshots and documentation is available on:
- Comments