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

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

by 한민주, 양찬석, 탈 아터
April 2019
Beginner to intermediate
368 pages
7h 18m
Korean
Hanbit Media, Inc.
Content preview from 만들면서 배우는 프로그레시브 웹 앱: 사용자 경험을 극대화하는 차세대 웹 앱 기술
6 IndexedDB로 로컬에 데이터 저장하기
- 171
워싱턴 포스트의 사례,
IndexedDB
로 오프라인 분석하기
워싱턴 포스트 팀은 새로운 프로그레시브 웹 앱을 구축하면서 흥미로운 문제에 직면
했습니다. 오프라인 지원이 추가됨으로써, 방문자의 경험치는 향상되었지만 그 경험
치를 측정하고 추적하는 능력은 잃어버렸습니다. 데이터 기반 팀의 입장에서 기꺼이
받아들일 수 있는 절충안이 아니었습니다.
워싱턴 포스트 팀은 구글 개발자 관계
Developer
Relations
팀 소속인 제프 포스닉
Jeff
Posnick
과 협력해 해결책을 고안해 냈습니다. 구글 애널리틱스로 전달되는 요청 중 실패한
모든 요청을
IndexedDB
에 저장하도록 하는
fetch
이벤트 핸들러가 바로 그 해결
책입니다. 구글 애널리틱스로의
fetch
요청이 성공하면
(
연결이 복원되었음을 의미)
이
전 구글 애널리틱스에 전달 시 실패한 모든 요청을 다시 시도합니다.
이후 구글 팀은 자체 프로젝트에서 사용할 수 있는
workbox
-
google
-
analytics
라
는
helper
라이브러리
(https
://
pwabook
.
com
/
offlineanalytics
)
를 릴리즈했습니다.
6.4
IndexedDB 실제로 적용하기
이제 고담 임페리얼 호텔 앱으로 돌아와 봅시다.
이 앱은 사용자의 예약 현황을 파악하여 ...
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