The previous recipe is useful for any hosted application. Let us say you are using Sencha's cloud service, Sencha.io, to store your data and you want to have the data available for offline usage as well. For this purpose, Sencha.io comes with a
syncstorage proxy that helps us manage the data on the cloud and also offers the offline capability for which it saves the data in
localStorage. In this recipe, we will see how to set up our application to use Sencha.io APIs and use the
syncstorage proxy to manage the application data.
At the time of writing this book, Sencha.io was in beta and the final APIs may differ from what have been used in this chapter.
Make sure that you have set up your ...