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

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

by 한민주, 양찬석, 탈 아터
April 2019
Beginner to intermediate
368 pages
7h 18m
Korean
Hanbit Media, Inc.
Content preview from 만들면서 배우는 프로그레시브 웹 앱: 사용자 경험을 극대화하는 차세대 웹 앱 기술
224 - 프로그레시브 웹 앱
일하게 따르고 있습니다.
IndexedDB
를 변경하기 전에 변경할 필요가 있는지 확
인합니다.
reservations
객체 저장소를 만들기 전에, 객체 저장소가 이미 존재
하는지 확인합니다. 만일 없다면, 새로운 객체 저장소를 만들고
reservations-
Store
변수에 객체 저장소 레퍼런스를 저장합니다. 이미 존재한다면,
event
.
target
.
transaction
.
objectStore(
"
reservations
"
)
을 호출하여 기존 객
체 저장소에 대한 레퍼런스를 가져옵니다.
마지막으로,
reservations
객체 저장소가 존재한다는 것을 확인한 후
(
이전 버전
의 객체 저장소이거나, 새로 만들었거나 관계 없이
)
, 객체 저장소의
indexNames
속성을
확인해 이미 같은 이름의 인덱스를 가지고 있는지 확인합니다. 없으면 인덱스를
생성합니다.
reservations
-
store
.
js
의 마지막 변경사항은 새롭게 생성한 인덱스를 사용해 특
정 상태의 모든 예약을 쉽게 가져올 수 있도록 하는 것입니다. 이렇게 하기 위해
서,
getReservations()
함수를 개선하여 두 개의 선택적 매개변수
(
인덱스 이름과
인덱스로 넘길 값
)
를 받을 수 있도록 할 것입니다.
다음과 같이
reservations
-
store
.
js
의
getReservations( ...
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