出版时间:2015.12
官网链接:O’Reilly
下载地址:百度网盘(PDF+EPUB+MOBI)
内容简介:
One of the most useful features of today’s modern browsers is the ability to store data right on the user’s computer or mobile device. Even as more people move toward the cloud, client-side storage can still save web developers a lot of time and money, if you do it right. This hands-on guide demonstrates several storage APIs in action. You’ll learn how and when to use them, their plusses and minuses, and steps for implementing one or more of them in your application.
Ideal for experienced web developers familiar with JavaScript, this book also introduces several open source libraries that make storage APIs easier to work with.
- Learn how different browsers support each client-side storage API
- Work with web (aka local) storage for simple things like lists or preferences
- Use IndexedDB to store nearly anything you want on the user’s browser
- Learn how support web apps that still use the discontinued Web SQL Database API
- Explore Lockr, Dexie, and localForage, three libraries that simplify the use of storage APIs
- Build a simple working application that makes use of several storage techniques