Skip to Content
러닝 자바스크립트: ES6로 제대로 입문하는 모던 자바스크립트 웹 개발
book

러닝 자바스크립트: ES6로 제대로 입문하는 모던 자바스크립트 웹 개발

by 한선용, 이선 브라운
July 2017
Beginner to intermediate
464 pages
10h 38m
Korean
Hanbit Media, Inc.
Content preview from 러닝 자바스크립트: ES6로 제대로 입문하는 모던 자바스크립트 웹 개발
387
18
브라우저의 자바스크립트
미디어 이벤트
HTML5
비디오, 오디오 플레이어에 관련된 이벤트로
pause
,
play
등이 있습니다.
진행
progress
이벤트
브라우저가 콘텐츠를 불러오는 과정에서 발생합니다. 가장 널리 쓰이는 것은 브라우저가 요소
와 그에 연관된 자원을 모두 불러왔을 때 발생하는
load
이벤트입니다.
error
이벤트도 유용하
게 쓸 수 있습니다. 자원을 사용할 수 없을 때, 예를 들어 이미지 링크가 깨졌을 때
error
이벤
트를 통해 적절히 대응할 수 있습니다.
터치 이벤트
터치 이벤트는 장치 터치를 사용할 수 있는 장치를 세밀히 지원합니다. 이벤트의
touches
로퍼티를 통해 동시 터치를 지원하고, 핀치, 스와이프 같은 제스처를 비롯해 세밀한 터치 처리
를 가능하게 합니다.
18.11
Ajax
Ajax
는 원래 비동기적 자바스크립트와
XML
의 약어입니다.
Ajax
를 통해 서버와 비동기적으로
통신하면 페이지 전체를 새로 고칠 필요 없이 서버에서 데이터를 받아올 수 있습니다. 이 혁명
적인 시스템은
2000
년 초반
XMLHttpRequest
의 도입으로 가능해졌고, 웹
2
.
0
이라 불리기도 했
습니다.
Ajax
의 핵심 개념은 간단합니다. 브라우저 자바스크립트에서
HTTP
요청을 만들어 서버에 보
내고 데이터를 받습니다. 받는 데이터는 보통
JSON
형식입니다.
XML
로 받을 수도 있지만
JSON
이 자바스크립트로 처리하기 훨씬 쉽습니다. 그리고 브라우저에서 그 데이터를 사용합니
다.
Ajax
역시 다른 웹 페이지와 마찬가지로 ...
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: 9788968483387