2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【夏休み企画】#IT用語一問一答【毎朝投稿19日目】IndexedDB

2
Posted at

この記事を読むと、、

  • 「関連用語」を使って「IndexedDB」を説明できるようになる
  • 「IndexedDB」がもっと好きになる(多分)

関連用語

object store / index / Web Storage API

[復習用] 記事の内容を見る前に上記の言葉で「IndexedDB」を説明してみよう!

企画説明

  • クラウドって何?って人に聞かれて説明してるけど俺もよく知らないや、、
  • ドキュメント読んでみてるけど半分くらい何言ってるか分かんない、、
  • 今日の夕飯はナスの炒めものにしよっかな〜、あれ、NASってなんだっけ?

みたいなことが結構あったので、知ったかしていたIT用語を毎日一個ずつちゃんと学んでいこうっていう企画です!

昨日の記事はこちら↓

IndexedDBとは

IndexedDB = 大きめのデータをブラウザ上で扱うNoSQLデータベース

  • ファイルやBLOB = Binary Large OBjectも保存できる
  • object store( = RDBでいうテーブル)からDatabaseが構成される
    • object storeのvalueのJSでの型に一貫性は必要ない
  • indexというobject storeを用いて、他のobject storeのデータが読み込まれる
  • same-origin policyに従い、同一ドメインからのみアクセスできる
  • cf. Web Storage API
    • IndexedDB同様、ブラウザ側でデータを保存するAPI
    • key/valueの組を保存できる
    • IndexedDBより扱うデータは小規模
    • ブラウザやタブが閉じると消えるsessionStorageと、閉じても消えないlocalStorageがある

参考資料

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?