250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- nextJS
- 기준
- web
- typeScript
- 삶
- graphQL
- Ethereum
- CLASS
- CSS
- concept
- error
- blockchain
- Interface
- SSR
- solidity
- tailwindcss
- middleware
- Redux
- bitcoin
- node.js
- HTML
- evm
- REACT
- built in object
- Props
- hardhat
- useState
- express.js
- JavaScript
- API
Archives
- Today
- Total
ReasonJun
HTML : IndexedDB 본문
728x90
IndexedDB is a powerful API provided by web browsers for managing a local NoSQL database within client-side applications. Here's a detailed breakdown of its key features and functionalities:
Purpose:
- Persistently store large amounts of structured data in the user's browser, enabling offline-capable web applications.
- Offer rich query capabilities for efficient data retrieval based on indexes.
Key Concepts:
- Object stores: The fundamental data structure, resembling tables but holding JavaScript objects instead of rows and columns.
- Keys: Unique identifiers used to access individual objects within an object store.
- Indexes: Specialized structures built on top of object stores for fast searching based on specific data properties.
- Transactions: Groups of operations ensuring data consistency by committing all changes or reverting them entirely in case of an error.
Advantages:
- Large storage capacity: Compared to Web Storage, IndexedDB allows storing significantly more data (multiple megabytes to gigabytes).
- Offline persistence: Data survives across browser sessions and even device reboots, enabling offline functionality.
- Powerful querying: Supports efficient searches using indexes on various data properties.
- Object-oriented: Stores and retrieves JavaScript objects directly, simplifying data manipulation.
- Transactions: Ensure data consistency and integrity even with complex operations.
Considerations:
- Complexity: Requires more programming effort compared to simpler storage APIs like Web Storage.
- Asynchronous nature: All operations are asynchronous, demanding understanding of callback-based programming.
- Security: Same-origin principle restricts access to the database, preventing third-party websites from stealing data.
- Browser compatibility: While widely supported, older browsers might lack full functionality.
IndexedDB 작업 | Articles | web.dev
IndexedDB의 기본사항에 관한 가이드입니다.
web.dev
https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
IndexedDB API - Web APIs | MDN
IndexedDB is a low-level API for client-side storage of significant amounts of structured data, including files/blobs. This API uses indexes to enable high-performance searches of this data. While Web Storage is useful for storing smaller amounts of data,
developer.mozilla.org
728x90
'Frontend > HTML' 카테고리의 다른 글
HTML : Iframe (0) | 2023.06.13 |
---|---|
HTML : Video (0) | 2023.06.06 |
HTML : img / picture (0) | 2023.06.05 |
HTML : BEM (Block Element Modifier) (0) | 2023.06.05 |
HTML : Viewport / Open Graph / Twitter Cards / style / class / id (0) | 2023.06.05 |
Comments