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: 웹사이트 구축을 위한 서버 사이드 자바스크립트
183
12
-
실무 관심사
이 시점에서 실무에 관해 설명하기 시작하는 게 너무 이르다 싶을 수도 있겠지만, 실무에 관해
일찍 생각해두면 시간을 많이 절약하고 두통거리도 줄일 수 있습니다. 사이트 오픈 날짜는 당
신이 알기도 전에 닥칠 테니까요.
이 장에서는 익스프레스가 여러 가지 실행 환경을 어떻게 지원하는지, 웹사이트를 확장하는 방
법, 웹사이트 모니터링 방법을 살펴봅니다. 테스트와 개발 목적으로 실무 환경을 시뮬레이트하
는 방법, 스트레스 테스트를 통해 실무 문제가 닥치기 전에 알아내는 방법도 배웁니다.
12.1.
실행 환경
익스프레스는 애플리케이션을 실무, 개발, 테스트 모드로 실행하는 실행 환경이란 개념을 지원
합니다. 사실 환경은 원하는 만큼 많이 만들 수 있습니다. 예를 들어 스테이징 환경, 훈련 환경
같은 환경을 만들 수 있습니다. 하지만 개발, 실무, 테스트가 ‘표준’ 환경이라는 건 염두에 두십
시오. 익스프레스, 커넥트, 타사 미들웨어는 환경에 따라 동작 방식이 다를 수 있습니다. 다시
말해 ‘스테이징’ 환경을 만든다고 할 때 실무 환경의 프로퍼티를 자동으로 상속할 수는 없습니
다. 따라서 실무, 개발, 테스트라는 표준에 머물길 권합니다.
app
.
set
('
env
', '
production
')
을 호출해서 실행 환경을 지정할 수 있지만, 이렇게 하
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