Skip to Content
한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트
book

한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트

by 한성용, 이선 브라운
April 2016
Beginner to intermediate
389 pages
9h 8m
Korean
Hanbit Media, Inc.
Content preview from 한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트
232
한 권으로 끝내는 Node & Express
용 중이라면 그 바탕에 다른
REST
API
가 있을 수도 있습니다).
현실적인 관점에서,
HTTP
의 제약 때문에 사실
RESTful
하지 않은
API
를 만들기가 더 어렵습
니다. 예를 들어 그런
API
를 만들려면 우선 ‘상태’를 직접 구현해야 하니까요. 문자 그대로 시
작이 반이군요.
우리는 메도라크 여행사 웹사이트에
REST
API
를 추가할 겁니다. 메도라크 여행사에서는 오리
건 여행을 권장하기 위해 오리건의 명소 데이터베이스를 만들어두고 있는데, 이 데이터베이스
에는 흥미로운 역사적 사실들이 많이 들어 있습니다.
API
를 사용하면 방문자가 오리건을 여행
할 때 가이드가 될 스마트폰 또는 태블릿용 애플리케이션을 만들 수 있습니다. 장치가 현재 위
치를 인식한다면, 흥미로운 장소 가까운 곳에 있을 때 알려줄 수도 있을 겁니다. 데이터베이스
는 계속 늘어날 수 있어야 하므로
API
에서는 주요 지형지물과 명소를 추가하는 것도 지원합니
다(악용을 막으려면 검증 과정을 거쳐야 하겠죠).
15.1.
JSON
XML
API
를 제공하려면 공통 언어가 있어야 합니다. 통신 중 일부분은 이미 정해져 있습니다. 서버
와 통신할 때는 반드시
HTTP
를 사용해야 합니다. 하지만 그 외에는 어떤 데이터 언어든 자
유롭게 쓸 수 있습니다.
XML
은 전통적으로 널리 쓰였고 현재도 중요한 마크업 언어입니다.
XML
이 그렇게 복잡한 건 아니지만, 더글러스 크록퍼드는 더 경량화할 수 있다고 보고 자바스
크립트 객체 표기법(
JSON ...
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

한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것

한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것

한선용, 이선 브라운

Publisher Resources

ISBN: 9788968482229