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: 웹사이트 구축을 위한 서버 사이드 자바스크립트
263
16
-
정적 콘텐츠
이제
grunt
static
을 실행하면
cong
.
js
가 업데이트되어 핑거프린트가 붙은 이름을 사용하는
걸 볼 수 있습니다.
16.8.
타사 라이브러리에 관한 노트
번들링 관련 예제에 제이쿼리가 없는 걸 이상하게 생각했을 수도 있겠군요. 제이쿼리는 거의
어디서나 쓰이므로, 브라우저에 캐시되어 있을 확률이 아주 높습니다. 애매한 부분은 핸들바나
백본
Backbone
, 부트스트랩 같은 라이브러리입니다. 이들도 매우 널리 쓰이긴 하지만, 항상 브라
우저에 캐시되어 있을 것 같지는 않습니다. 타사 라이브러리를 한두 개 쓰는 정도라면 직접 만
든 스크립트와 묶어도 그다지 효율적이진 않습니다. 라이브러리를 다섯 개 이상 쓴다면 이들을
묶어서 성능이 향상될 수 있습니다.
16.9.
QA
버그는 피할 수 없습니다. 그러니 일어날 때까지 기다렸다가 해결한다든가 코드 리뷰에서 문제
를 찾아내길 바라기보다는
QA
도구에 문제를 수정할 구성 요소를 추가하는 편이 좋습니다. 지
금 설명할 그런트 플러그인
grunt
-
lint
-
pattern
은 소스 파일에서 패턴을 검색하고, 패턴을
발견하면 에러를 발생합니다. 먼저 패키지를 설치합시다.
npm install
--
save
-
dev grunt
-
lint
-
pattern
다음에는
Gruntle
.
js
에서 불러올 모듈 목록
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