Muutke küpsiste eelistusi

ClientSide Data Storage [Pehme köide]

  • Formaat: Paperback / softback, 118 pages, kõrgus x laius x paksus: 232x175x12 mm, kaal: 224 g
  • Ilmumisaeg: 02-Feb-2016
  • Kirjastus: O'Reilly Media
  • ISBN-10: 1491935111
  • ISBN-13: 9781491935118
Teised raamatud teemal:
  • Pehme köide
  • Hind: 29,91 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 35,19 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 2-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 118 pages, kõrgus x laius x paksus: 232x175x12 mm, kaal: 224 g
  • Ilmumisaeg: 02-Feb-2016
  • Kirjastus: O'Reilly Media
  • ISBN-10: 1491935111
  • ISBN-13: 9781491935118
Teised raamatud teemal:
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
Preface v
1 A Gentle Introduction to Client-Side Data Storage
1(2)
2 Working with Cookies
3(10)
Cookies? Seriously?
3(1)
Working with Cookies
4(2)
Reading Cookies
5(1)
Deleting Cookies
6(1)
Demos
6(4)
Inspecting Cookies Within Developer Tools
10(1)
Support and Recommended Usage
11(2)
3 Working with Web Storage
13(14)
Web Storage, AKA Local Storage
13(1)
Working with Web Storage
14(1)
Demos
15(4)
Listening for Storage Changes
19(4)
Inspecting Web Storage with Dev Tools
23(1)
Support and Recommended Usage
24(3)
4 Working with IndexedDB
27(36)
Welcome to Deep Data
27(1)
Key IndexedDB Terms
28(1)
Checking for IndexedDB Support
29(1)
Working with Databases
29(2)
Working with Object Stores
31(6)
Making Object Stores
32(2)
Defining Primary Keys
34(2)
Defining Indexes
36(1)
Working with Data
37(11)
Creating Data
38(4)
Reading Data
42(3)
Updating Data
45(2)
Deleting Data
47(1)
Getting All the Data
48(6)
Working with Ranges and Indexes
51(3)
Even More with IndexedDB
54(5)
Storing Arrays
54(5)
Counting Data
59(1)
Inspecting IndexedDB with Dev Tools
59(2)
Support and Recommended Usage
61(2)
5 Working with Web SQL
63(12)
Dead Spec Walking
63(1)
Basic Database Terms
64(1)
Checking for Web SQL Support
64(1)
Working with Databases
64(2)
Working with Transactions
66(6)
Inspecting Web SQL with Dev Tools
72(1)
Support and Recommended Usage
73(2)
6 Making It Easier with Libraries
75(16)
"Use the Library, Luke..."
75(1)
Working with Lockr
75(5)
Simplifying IndexedDB with Dexie
80(8)
Working with localForage
88(2)
More Options
90(1)
7 Building a Sample Application
91(14)
Let's Build Something!
91(1)
Our Sample Data
92(3)
The Application
95(2)
The Code
97(6)
Wrap-up
103(2)
Index 105
Raymond Camden is a developer advocate for IBM. His work focuses on the MobileFirst platform, hybrid mobile development, Node.js, HTML5, and ColdFusion. He's a published author and presents at conferences and user groups on a variety of topics.