SlideShare a Scribd company logo
Dima Tarasenko
May 2019
db in UI
about
2000 – 2019
dev - tech - sport
9 years: asmCC++
2 years: julia
9 years: JS
Interpreters
VMs
UI
•
•
•
•
•
•
•
•
fb: tmptrash
goals
meet technology
understand
investigate examples
•
•
•
where to store data?
cookie
localStorage
sessionStorage
File API
cache API
indexedDB
WebSQL
Cloud/Server
•
•
•
•
•
•
•
•
where to use such storages?
offline apps
data generation apps
state saving
session saving
games
UI cache
back-endless apps
•
•
•
•
•
•
•
WebSQL
The W3C Web Applications Working Group
ceased working on the specification in
November 2010, citing a lack of
independent implementations (i.e. the use
of a database system other than SQLite as
the backend) as the reason the
specification could not move forward to
become a W3C Recommendation.
WebSQL.example
indexedDB
IndexedDB is a way for you to persistently
store data inside a user's browser
indexedDB.features
NoSQL
data per domain (scheme+domain+port)
async data access
callback interface
good with promises/await
size: 50% of free disk space
stores blobs
•
•
•
•
•
•
•
Quota: https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Browser_storage_limits_and_eviction_criteria
indexedDB.support
indexedDB.db
Database - This is the highest level of
IndexedDB. It contains the object stores,
which in turn contain the data you would like
to persist. You can create multiple databases
with whatever names you choose, but
generally there is one database per app.
indexedDB.store
Object store - An object store is an individual
bucket to store data. You can think of object
stores as being similar to tables in traditional
relational databases.
indexedDB.index
Index - An Index is a kind of object store for
organizing data in another object store (called
the reference object store) by an individual
property of the data. The index is used to
retrieve records in the object store by this
property.
indexedDB.transaction
Transaction - A transaction is wrapper around
an operation, or group of operations, that
ensures database integrity. If one of the
actions within a transaction fail, none of them
are applied and the database returns to the
state it was in before the transaction began.
All read or write operations in IndexedDB
must be part of a transaction.
indexedDB.native
indexedDB.Dexie.js
indexedDB.libs
Dexie.js
localForage
PouchDB
•
•
•
indexedDB.read
concepts: https://tinyurl.com/lzplysk
interface: https://tinyurl.com/q8z46pr
usage: https://tinyurl.com/yxb9lexq
support: https://tinyurl.com/yycwtevq
questions

More Related Content

PPTX
Practical Use of a NoSQL Database
PDF
Maximize Greenplum For Any Use Cases Decoupling Compute and Storage - Greenpl...
PPTX
Greenplum-PXF November 2018
PPTX
Azure Data Factory Data Flow
PPTX
Aws wordpress migration@4th i jaws
PDF
Serverless Data Platform
DOCX
Uma SunilKumar Resume
PDF
Jcon2020 keynote-high-performance-java-cloud-native
Practical Use of a NoSQL Database
Maximize Greenplum For Any Use Cases Decoupling Compute and Storage - Greenpl...
Greenplum-PXF November 2018
Azure Data Factory Data Flow
Aws wordpress migration@4th i jaws
Serverless Data Platform
Uma SunilKumar Resume
Jcon2020 keynote-high-performance-java-cloud-native

Similar to Modern database in browsers, Дмитро Тарасенко (20)

PPTX
Moving to the cloud azure, office365, and intune - concurrency
PDF
IBM THINK 2019 - A Sharing Economy for Analytics: SQL Query in IBM Cloud
PPTX
Coud-based Data Lake for Analytics and AI
PPTX
Microsoft Azure
PPTX
Cloud-based Data Lake for Analytics and AI
PDF
Azure Cloud Dev Camp - App Platform
PDF
Big Data Analytics from Azure Cloud to Power BI Mobile
PDF
DW on AWS
PDF
IBM - Introduction to Cloudant
PDF
0812 2014 01_toronto-smac meetup_i_os_cloudant_worklight_part2
PPTX
Azure Introduction
PDF
Serverless SQL
PDF
PykQuery.js
PPTX
Windows Phone 7 and Windows Azure – A Match Made in the Cloud
PPTX
Apache Spark and Apache Ignite: Where Fast Data Meets the IoT
PDF
Demystifying large PointCloud datasets for simple integration on complex proj...
PPTX
IBM THINK 2018 - IBM Cloud SQL Query Introduction
PPTX
Understanding The Azure Platform March 2010
DOC
Mihai_Nuta
PDF
Solving enterprise challenges through scale out storage & big compute final
Moving to the cloud azure, office365, and intune - concurrency
IBM THINK 2019 - A Sharing Economy for Analytics: SQL Query in IBM Cloud
Coud-based Data Lake for Analytics and AI
Microsoft Azure
Cloud-based Data Lake for Analytics and AI
Azure Cloud Dev Camp - App Platform
Big Data Analytics from Azure Cloud to Power BI Mobile
DW on AWS
IBM - Introduction to Cloudant
0812 2014 01_toronto-smac meetup_i_os_cloudant_worklight_part2
Azure Introduction
Serverless SQL
PykQuery.js
Windows Phone 7 and Windows Azure – A Match Made in the Cloud
Apache Spark and Apache Ignite: Where Fast Data Meets the IoT
Demystifying large PointCloud datasets for simple integration on complex proj...
IBM THINK 2018 - IBM Cloud SQL Query Introduction
Understanding The Azure Platform March 2010
Mihai_Nuta
Solving enterprise challenges through scale out storage & big compute final
Ad

More from Sigma Software (20)

PPTX
Fast is Best. Using .NET MinimalAPIs
PPTX
"Are you developing or declining? Don't become an IT-dinosaur"
PPTX
Michael Smolin, "Decrypting customer's cultural code"
PPTX
Max Kunytsia, “Why is continuous product discovery better than continuous del...
PPTX
Marcelino Moreno, "Product Management Mindset"
PDF
Andrii Pastushok, "Product Discovery in Outsourcing - What, When, and How"
PPTX
Elena Turkenych “BA vs PM: Who' the right person, for the right job, with the...
PPTX
Eleonora Budanova “BA+PM+DEV team: how to build the synergy”
PPTX
Stoyan Atanasov “How crucial is the BA role in an IT Project"
PPTX
Olexandra Kovalyova, "Equivalence Partitioning, Boundary Values ​​Analysis, C...
PPTX
Yana Lysa — "Decision Tables, State-Transition testing, Pairwase Testing"
PPTX
VOLVO x HACK SPRINT
PPTX
Business digitalization trends and challenges
PPTX
Дмитро Терещенко, "How to secure your application with Secure SDLC"
PPTX
Яна Лиса, “Ефективні методи написання хороших мануальних тестових сценаріїв”
PDF
Тетяна Осетрова, “Модель зрілості розподіленної проектної команди”
PDF
Training solutions and content creation
PDF
False news - false truth: tips & tricks how to avoid them
PPTX
Анна Бойко, "Хороший контракт vs очікування клієнтів. Що вбереже вас, якщо вд...
PPTX
Дмитрий Лапшин, "The importance of TEX and Internal Quality. How explain and ...
Fast is Best. Using .NET MinimalAPIs
"Are you developing or declining? Don't become an IT-dinosaur"
Michael Smolin, "Decrypting customer's cultural code"
Max Kunytsia, “Why is continuous product discovery better than continuous del...
Marcelino Moreno, "Product Management Mindset"
Andrii Pastushok, "Product Discovery in Outsourcing - What, When, and How"
Elena Turkenych “BA vs PM: Who' the right person, for the right job, with the...
Eleonora Budanova “BA+PM+DEV team: how to build the synergy”
Stoyan Atanasov “How crucial is the BA role in an IT Project"
Olexandra Kovalyova, "Equivalence Partitioning, Boundary Values ​​Analysis, C...
Yana Lysa — "Decision Tables, State-Transition testing, Pairwase Testing"
VOLVO x HACK SPRINT
Business digitalization trends and challenges
Дмитро Терещенко, "How to secure your application with Secure SDLC"
Яна Лиса, “Ефективні методи написання хороших мануальних тестових сценаріїв”
Тетяна Осетрова, “Модель зрілості розподіленної проектної команди”
Training solutions and content creation
False news - false truth: tips & tricks how to avoid them
Анна Бойко, "Хороший контракт vs очікування клієнтів. Що вбереже вас, якщо вд...
Дмитрий Лапшин, "The importance of TEX and Internal Quality. How explain and ...
Ad

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Cloud computing and distributed systems.
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
cuic standard and advanced reporting.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
KodekX | Application Modernization Development
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
The AUB Centre for AI in Media Proposal.docx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Digital-Transformation-Roadmap-for-Companies.pptx
Spectral efficient network and resource selection model in 5G networks
sap open course for s4hana steps from ECC to s4
Reach Out and Touch Someone: Haptics and Empathic Computing
Cloud computing and distributed systems.
Chapter 3 Spatial Domain Image Processing.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Review of recent advances in non-invasive hemoglobin estimation
cuic standard and advanced reporting.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Encapsulation_ Review paper, used for researhc scholars
KodekX | Application Modernization Development
Unlocking AI with Model Context Protocol (MCP)
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...

Modern database in browsers, Дмитро Тарасенко