Client-side data storage keeping it local
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 demonst...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly
2016.
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629959706719 |
Tabla de Contenidos:
- Copyright; Table of Contents; Preface; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. A Gentle Introduction to Client-Side Data Storage; Chapter 2. Working with Cookies; Cookies? Seriously?; Working with Cookies; Reading Cookies; Deleting Cookies; Demos; Inspecting Cookies Within Developer Tools; Support and Recommended Usage; Chapter 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 UsageChapter 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; Chapter 5. Working with Web SQL; Dead Spec Walking; Basic Database Terms
- Checking for Web SQL SupportWorking with Databases; Working with Transactions; Inspecting Web SQL with Dev Tools; Support and Recommended Usage; Chapter 6. Making It Easier with Libraries; "Use the Library, Luke..."; Working with Lockr; Simplifying IndexedDB with Dexie; Working with localForage; More Options; Chapter 7. Building a Sample Application; Let's Build Something!; Our Sample Data; The Application; The Code; Wrap-up; Index; About the Author