Home Page Icon
Home Page
Table of Contents for
Cover
Close
Cover
by Raymond Camden
Client-Side Data Storage
Preface
Conventions Used in This Book
Using Code Examples
Safari® Books Online
How to Contact Us
Acknowledgments
1. A Gentle Introduction to Client-Side Data Storage
2. Working with Cookies
Cookies? Seriously?
Working with Cookies
Reading Cookies
Deleting Cookies
Demos
Inspecting Cookies Within Developer Tools
Support and Recommended Usage
3. Working with Web Storage
Web Storage, AKA Local Storage
Working with Web Storage
Demos
Listening for Storage Changes
Inspecting Web Storage with Dev Tools
Support and Recommended Usage
4. Working with IndexedDB
Welcome to Deep Data
Key IndexedDB Terms
Checking for IndexedDB Support
Working with Databases
Working with Object Stores
Making Object Stores
Defining Primary Keys
Defining Indexes
Working with Data
Creating Data
Reading Data
Updating Data
Deleting Data
Getting All the Data
Working with Ranges and Indexes
Even More with IndexedDB
Storing Arrays
Counting Data
Inspecting IndexedDB with Dev Tools
Support and Recommended Usage
5. Working with Web SQL
Dead Spec Walking
Basic Database Terms
Checking for Web SQL Support
Working with Databases
Working with Transactions
Inspecting Web SQL with Dev Tools
Support and Recommended Usage
6. Making It Easier with Libraries
“Use the Library, Luke...”
Working with Lockr
Simplifying IndexedDB with Dexie
Working with localForage
More Options
7. Building a Sample Application
Let’s Build Something!
Our Sample Data
The Application
The Code
Wrap-up
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Client-Side Data Storage
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset