O'Reilly logo

Creating Mobile Apps with Sencha Touch 2 by Bryan P. Johnson, John Earl Clark

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. On Deck: Using Sencha.io

In our previous chapters we have typically used local storage for maintaining our data. This offers a number of advantages with its ease of use and simplicity. The store and the model do all of the heavy lifting for us.

However, there are a number of disadvantages to local storage as well. First and foremost, it is very much local to the device. This means that if your user has more than one device (a phone, desktop, and a tablet computer), then they will have a separate set of data for each device.

This can be confusing to the user and it negates the advantage of having a single application that is accessible from multiple devices. Additionally, the data can be deleted by the user when they clear the local browser ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required