Skip to Content
만들면서 배우는 프로그레시브 웹 앱: 사용자 경험을 극대화하는 차세대 웹 앱 기술
book

만들면서 배우는 프로그레시브 웹 앱: 사용자 경험을 극대화하는 차세대 웹 앱 기술

by 한민주, 양찬석, 탈 아터
April 2019
Beginner to intermediate
368 pages
7h 18m
Korean
Hanbit Media, Inc.
Content preview from 만들면서 배우는 프로그레시브 웹 앱: 사용자 경험을 극대화하는 차세대 웹 앱 기술
6 IndexedDB로 로컬에 데이터 저장하기
- 169
6
.
2
.
14
위로 전파되는(
Bubbling
)
IndexedDB
에러 처리하기
IndexedDB
의 에러 이벤트는 위로 전파 됩니다.
커서 오픈 요청 중 오류가 생기면 해당 요청의
onerror
핸들러에 오류가 잡힐 것
입니다. 만일 해당 요청에 이를 처리하기 위한
onerror
핸들러가 정의되지 않았
다면, 이 오류는 트랜잭션의 에러 핸들러에 잡히도록 전파될 것입니다. 트랜잭션
도 에러 핸들러를 가지고 있지 않다면, 에러는 데이터베이스 객체의 에러 핸들러
에 잡히도록 위로 전파 될 것입니다.
이러한 작동 방식으로 인해 매 요청 및 트랜잭션마다 별도의 에러 핸들러를 정의
하는 대신, 데이터베이스 객체에서 하나의 에러 핸들러를 작성해 공통적으로 사용
할 수 있습니다.
6.3
SQL Ninja를 위한 IndexedDB
SQL
에 대한 경험이 있다면
IndexedDB
의 개념과
SQL
의 개념을 비교해 보세
요. 개념을 쉽게 파악하고 기억할 수 있을 것입니다.
하지만 조심하세요. 대부분의 비교는 가장 추상적인 선에서만 의미가 있을 뿐, 자
세히 들여다보면 그다지 맞지 않습니다. 좋은 방법은 아니지만, 변수가 비어있는
(empty() )
혹은 숫자인지
(is_numeric() )
빨리 확인하고 싶을 때 찾아보는
PHP
개발자용 자바스크립트 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

파이썬으로 웹 크롤러 만들기: 초간단 나만의 웹 크롤러로 원하는 데이터 가져오는 방법

파이썬으로 웹 크롤러 만들기: 초간단 나만의 웹 크롤러로 원하는 데이터 가져오는 방법

한선용, 라이언 미첼

Publisher Resources

ISBN: 9791162248737