Implementation Strategy

Understand the strategy to implement web storage for persistence.

We'll cover the following...

As mentioned in the Dealing with Persisted Data chapter, we’ll be implementing data persistence by leveraging web storage. To accomplish this, we’ll be using the Backbone.localStorage adapter.

Note: Web storage used to be called “local storage,” hence the adapter’s name. To keep things consistent, we’ll refer to it in the source code as “local storage” instead of “web storage,” but they are one and the same.

We want to minimize the impact of storing our data locally as ...