Client-Side Data Storage. Keeping It Local - Helion
ISBN: 978-14-919-3506-4
stron: 118, Format: ebook
Data wydania: 2015-12-24
Księgarnia: Helion
Cena książki: 101,15 zł (poprzednio: 117,62 zł)
Oszczędzasz: 14% (-16,47 zł)
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
Osoby które kupowały "Client-Side Data Storage. Keeping It Local", wybierały także:
- 100 rzeczy, które każdy projektant powinien wiedzieć o potencjalnych klientach. Wydanie II 58,98 zł, (29,49 zł -50%)
- Responsive Web Design. Projektowanie elastycznych witryn w HTML5 i CSS3. Wydanie III 69,00 zł, (34,50 zł -50%)
- AngularJS. Tworzenie aplikacji webowych. Receptury 58,98 zł, (29,49 zł -50%)
- Niezawodne zasady web designu. Projektowanie spektakularnych witryn internetowych. Wydanie III 49,00 zł, (24,50 zł -50%)
- Niezawodne zasady web designu. Projektowanie spektakularnych witryn internetowych. Wydanie II 49,00 zł, (24,50 zł -50%)
Spis treści
Client-Side Data Storage. Keeping It Local eBook -- spis treści
- 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
- Lets Build Something!
- Our Sample Data
- The Application
- The Code
- Wrap-up
- Index