Suche senden
Hochladen
Node.js 시작하기
•
6 gefällt mir
•
4,707 views
Ohgyun Ahn
Folgen
ABC Talk #12 Node.js 시작하기 실습 예제: https://github.com/ohgyun/nsrank/
Weniger lesen
Mehr lesen
Technologie
Diashow-Anzeige
Melden
Teilen
Diashow-Anzeige
Melden
Teilen
1 von 31
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Introduction to NodeJS
Introduction to NodeJS
Claudio Cicali
Node.js #digpen presentation
Node.js #digpen presentation
GOSS Interactive
Developing realtime apps with Drupal and NodeJS
Developing realtime apps with Drupal and NodeJS
drupalcampest
The Enterprise Case for Node.js
The Enterprise Case for Node.js
NodejsFoundation
Treinamento frontend
Treinamento frontend
Adrian Caetano
Mini-Training: Node.js
Mini-Training: Node.js
Betclic Everest Group Tech Team
Node js Introduction
Node js Introduction
sanskriti agarwal
Modern UI Development With Node.js
Modern UI Development With Node.js
Ryan Anklam
Empfohlen
Introduction to NodeJS
Introduction to NodeJS
Claudio Cicali
Node.js #digpen presentation
Node.js #digpen presentation
GOSS Interactive
Developing realtime apps with Drupal and NodeJS
Developing realtime apps with Drupal and NodeJS
drupalcampest
The Enterprise Case for Node.js
The Enterprise Case for Node.js
NodejsFoundation
Treinamento frontend
Treinamento frontend
Adrian Caetano
Mini-Training: Node.js
Mini-Training: Node.js
Betclic Everest Group Tech Team
Node js Introduction
Node js Introduction
sanskriti agarwal
Modern UI Development With Node.js
Modern UI Development With Node.js
Ryan Anklam
Reasons to migrate to modern web development with JavaScript
Reasons to migrate to modern web development with JavaScript
David Amend
Javascript fatigue, 자바스크립트 피로
Javascript fatigue, 자바스크립트 피로
Rhio Kim
Node.JS briefly introduced
Node.JS briefly introduced
Alexandre Lachèze
20120802 timisoara
20120802 timisoara
Richard Rodger
Node.js, toy or power tool?
Node.js, toy or power tool?
Ovidiu Dimulescu
The Rise of Mobility
The Rise of Mobility
Matteo Madeddu
Azure サーバレスアーキテクチャを支える Infrastructure as Code - Microsoft Ignite The Tour 202...
Azure サーバレスアーキテクチャを支える Infrastructure as Code - Microsoft Ignite The Tour 202...
Kazumi IWANAGA
20120306 dublin js
20120306 dublin js
Richard Rodger
Introducing the Seneca MVP framework for Node.js
Introducing the Seneca MVP framework for Node.js
Richard Rodger
Devoxx France 2013 Cloud Best Practices
Devoxx France 2013 Cloud Best Practices
Eric Bottard
Gluecon 2014 - Bringing Node.js to the JVM
Gluecon 2014 - Bringing Node.js to the JVM
Jeremy Whitlock
Fake it 'til you make it
Fake it 'til you make it
Jonathan Snook
Threads Needles Stacks Heaps - Java edition
Threads Needles Stacks Heaps - Java edition
Ovidiu Dimulescu
Javantura 2014 - Java 8 JavaScript Nashorn
Javantura 2014 - Java 8 JavaScript Nashorn
Miroslav Resetar
The 8 Don'ts of WCM
The 8 Don'ts of WCM
Cédric Hüsler
WordPress + Docker - Reusable WordPress development environments
WordPress + Docker - Reusable WordPress development environments
Jordan West
Node.js and Enterprise Web Apps: Know all About it
Node.js and Enterprise Web Apps: Know all About it
Fibonalabs
All You Need to Know About Using Node.pdf
All You Need to Know About Using Node.pdf
iDataScientists
Node.js.pdf
Node.js.pdf
gulfam ali
Basic Concept of Node.js & NPM
Basic Concept of Node.js & NPM
Bhargav Anadkat
02 Node introduction
02 Node introduction
Ahmed Elbassel
Nodejs presentation
Nodejs presentation
Arvind Devaraj
Weitere ähnliche Inhalte
Was ist angesagt?
Reasons to migrate to modern web development with JavaScript
Reasons to migrate to modern web development with JavaScript
David Amend
Javascript fatigue, 자바스크립트 피로
Javascript fatigue, 자바스크립트 피로
Rhio Kim
Node.JS briefly introduced
Node.JS briefly introduced
Alexandre Lachèze
20120802 timisoara
20120802 timisoara
Richard Rodger
Node.js, toy or power tool?
Node.js, toy or power tool?
Ovidiu Dimulescu
The Rise of Mobility
The Rise of Mobility
Matteo Madeddu
Azure サーバレスアーキテクチャを支える Infrastructure as Code - Microsoft Ignite The Tour 202...
Azure サーバレスアーキテクチャを支える Infrastructure as Code - Microsoft Ignite The Tour 202...
Kazumi IWANAGA
20120306 dublin js
20120306 dublin js
Richard Rodger
Introducing the Seneca MVP framework for Node.js
Introducing the Seneca MVP framework for Node.js
Richard Rodger
Devoxx France 2013 Cloud Best Practices
Devoxx France 2013 Cloud Best Practices
Eric Bottard
Gluecon 2014 - Bringing Node.js to the JVM
Gluecon 2014 - Bringing Node.js to the JVM
Jeremy Whitlock
Fake it 'til you make it
Fake it 'til you make it
Jonathan Snook
Threads Needles Stacks Heaps - Java edition
Threads Needles Stacks Heaps - Java edition
Ovidiu Dimulescu
Javantura 2014 - Java 8 JavaScript Nashorn
Javantura 2014 - Java 8 JavaScript Nashorn
Miroslav Resetar
The 8 Don'ts of WCM
The 8 Don'ts of WCM
Cédric Hüsler
WordPress + Docker - Reusable WordPress development environments
WordPress + Docker - Reusable WordPress development environments
Jordan West
Was ist angesagt?
(16)
Reasons to migrate to modern web development with JavaScript
Reasons to migrate to modern web development with JavaScript
Javascript fatigue, 자바스크립트 피로
Javascript fatigue, 자바스크립트 피로
Node.JS briefly introduced
Node.JS briefly introduced
20120802 timisoara
20120802 timisoara
Node.js, toy or power tool?
Node.js, toy or power tool?
The Rise of Mobility
The Rise of Mobility
Azure サーバレスアーキテクチャを支える Infrastructure as Code - Microsoft Ignite The Tour 202...
Azure サーバレスアーキテクチャを支える Infrastructure as Code - Microsoft Ignite The Tour 202...
20120306 dublin js
20120306 dublin js
Introducing the Seneca MVP framework for Node.js
Introducing the Seneca MVP framework for Node.js
Devoxx France 2013 Cloud Best Practices
Devoxx France 2013 Cloud Best Practices
Gluecon 2014 - Bringing Node.js to the JVM
Gluecon 2014 - Bringing Node.js to the JVM
Fake it 'til you make it
Fake it 'til you make it
Threads Needles Stacks Heaps - Java edition
Threads Needles Stacks Heaps - Java edition
Javantura 2014 - Java 8 JavaScript Nashorn
Javantura 2014 - Java 8 JavaScript Nashorn
The 8 Don'ts of WCM
The 8 Don'ts of WCM
WordPress + Docker - Reusable WordPress development environments
WordPress + Docker - Reusable WordPress development environments
Ähnlich wie Node.js 시작하기
Node.js and Enterprise Web Apps: Know all About it
Node.js and Enterprise Web Apps: Know all About it
Fibonalabs
All You Need to Know About Using Node.pdf
All You Need to Know About Using Node.pdf
iDataScientists
Node.js.pdf
Node.js.pdf
gulfam ali
Basic Concept of Node.js & NPM
Basic Concept of Node.js & NPM
Bhargav Anadkat
02 Node introduction
02 Node introduction
Ahmed Elbassel
Nodejs presentation
Nodejs presentation
Arvind Devaraj
An Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows Azure
Troy Miles
Introduction to Node.js
Introduction to Node.js
AMD Developer Central
Starting Node
Starting Node
xtylerx
Node, express & sails
Node, express & sails
Brian Shannon
Definitive Guide to Powerful Nodejs Development.pptx
Definitive Guide to Powerful Nodejs Development.pptx
75waytechnologies
Node.js In The Enterprise - A Primer
Node.js In The Enterprise - A Primer
Naveen S.R
What is Node.js_ Pros and Cons of Node.js Web App Development
What is Node.js_ Pros and Cons of Node.js Web App Development
Sufalam Technologies
What is Node.js_ Pros and Cons of Node.js Web App Development.pdf
What is Node.js_ Pros and Cons of Node.js Web App Development.pdf
Sufalam Technologies
What are some misconceptions about node js
What are some misconceptions about node js
Narola Infotech
Node js
Node js
Chirag Parmar
Understanding Node.js and Django.docx
Understanding Node.js and Django.docx
Savior_Marketing
Introduction to Node.js
Introduction to Node.js
Rob O'Doherty
What is Node.js_ Where, When & How To Use It.pdf
What is Node.js_ Where, When & How To Use It.pdf
Smith Daniel
Nodejs
Nodejs
dssprakash
Ähnlich wie Node.js 시작하기
(20)
Node.js and Enterprise Web Apps: Know all About it
Node.js and Enterprise Web Apps: Know all About it
All You Need to Know About Using Node.pdf
All You Need to Know About Using Node.pdf
Node.js.pdf
Node.js.pdf
Basic Concept of Node.js & NPM
Basic Concept of Node.js & NPM
02 Node introduction
02 Node introduction
Nodejs presentation
Nodejs presentation
An Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows Azure
Introduction to Node.js
Introduction to Node.js
Starting Node
Starting Node
Node, express & sails
Node, express & sails
Definitive Guide to Powerful Nodejs Development.pptx
Definitive Guide to Powerful Nodejs Development.pptx
Node.js In The Enterprise - A Primer
Node.js In The Enterprise - A Primer
What is Node.js_ Pros and Cons of Node.js Web App Development
What is Node.js_ Pros and Cons of Node.js Web App Development
What is Node.js_ Pros and Cons of Node.js Web App Development.pdf
What is Node.js_ Pros and Cons of Node.js Web App Development.pdf
What are some misconceptions about node js
What are some misconceptions about node js
Node js
Node js
Understanding Node.js and Django.docx
Understanding Node.js and Django.docx
Introduction to Node.js
Introduction to Node.js
What is Node.js_ Where, When & How To Use It.pdf
What is Node.js_ Where, When & How To Use It.pdf
Nodejs
Nodejs
Mehr von Ohgyun Ahn
호갱노노 이렇게 만듭니다
호갱노노 이렇게 만듭니다
Ohgyun Ahn
카카오스토리 웹팀의 코드리뷰 경험
카카오스토리 웹팀의 코드리뷰 경험
Ohgyun Ahn
ES6: RegExp.prototype.unicode 이해하기
ES6: RegExp.prototype.unicode 이해하기
Ohgyun Ahn
JavaScript Memory Profiling
JavaScript Memory Profiling
Ohgyun Ahn
JavaScript Minification
JavaScript Minification
Ohgyun Ahn
JavaSript Template Engine
JavaSript Template Engine
Ohgyun Ahn
Github Usage Scenarios
Github Usage Scenarios
Ohgyun Ahn
Javascript hoisting
Javascript hoisting
Ohgyun Ahn
diff output formats
diff output formats
Ohgyun Ahn
패키지 매니저의 요건
패키지 매니저의 요건
Ohgyun Ahn
BASH Guide Summary
BASH Guide Summary
Ohgyun Ahn
Python Usage (5-minute-summary)
Python Usage (5-minute-summary)
Ohgyun Ahn
UX 심포지엄 20120 키노트 정리
UX 심포지엄 20120 키노트 정리
Ohgyun Ahn
크롬익스텐션 맛보기
크롬익스텐션 맛보기
Ohgyun Ahn
재미있는 생산성 향상 도구
재미있는 생산성 향상 도구
Ohgyun Ahn
Raphael.js로 SVG 차트 만들기
Raphael.js로 SVG 차트 만들기
Ohgyun Ahn
깃헙으로 코드리뷰 하기
깃헙으로 코드리뷰 하기
Ohgyun Ahn
Recurrence relation
Recurrence relation
Ohgyun Ahn
Mehr von Ohgyun Ahn
(18)
호갱노노 이렇게 만듭니다
호갱노노 이렇게 만듭니다
카카오스토리 웹팀의 코드리뷰 경험
카카오스토리 웹팀의 코드리뷰 경험
ES6: RegExp.prototype.unicode 이해하기
ES6: RegExp.prototype.unicode 이해하기
JavaScript Memory Profiling
JavaScript Memory Profiling
JavaScript Minification
JavaScript Minification
JavaSript Template Engine
JavaSript Template Engine
Github Usage Scenarios
Github Usage Scenarios
Javascript hoisting
Javascript hoisting
diff output formats
diff output formats
패키지 매니저의 요건
패키지 매니저의 요건
BASH Guide Summary
BASH Guide Summary
Python Usage (5-minute-summary)
Python Usage (5-minute-summary)
UX 심포지엄 20120 키노트 정리
UX 심포지엄 20120 키노트 정리
크롬익스텐션 맛보기
크롬익스텐션 맛보기
재미있는 생산성 향상 도구
재미있는 생산성 향상 도구
Raphael.js로 SVG 차트 만들기
Raphael.js로 SVG 차트 만들기
깃헙으로 코드리뷰 하기
깃헙으로 코드리뷰 하기
Recurrence relation
Recurrence relation
Kürzlich hochgeladen
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Igalia
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
wesley chun
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Antenna Manufacturer Coco
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
Kürzlich hochgeladen
(20)
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Node.js 시작하기
1.
Node.js
2.
시작하기 ABC
3.
Talk
4.
/
5.
Steve
6.
Ahn
7.
오늘은, -
8.
Node.js의
9.
특징을
10.
아주
11.
간단히
12.
살펴보고, -
13.
개발을
14.
시작할
15.
때
16.
필요한
17.
몇
18.
가지
19.
개념
20.
위주로, -
21.
작은
22.
앱을
23.
만들어볼
24.
예정이예요. -
25.
노드로
26.
무언가를
27.
만들
28.
수
29.
있는
30.
발판을
31.
마련하는
32.
것이
33.
목적!
34.
목차 -
35.
Node.js란? -
36.
모듈
37.
정의
38.
39.
40.
41.
-
42.
require,
43.
module,
44.
exports,
45.
CommonJS -
46.
노드
47.
패키지
48.
매니저
49.
50.
51.
52.
-
53.
npm,
54.
package.json,
55.
node_modules -
56.
실습 -
57.
더
58.
알아보기
59.
Node.js란? Node.js
60.
is
61.
a
62.
platform
63.
built
64.
on
65.
Chrome's
66.
JavaScript
67.
runtime for
68.
easily
69.
building
70.
fast,
71.
scalable
72.
network
73.
applications. Node.js
74.
uses
75.
an
76.
event-driven,
77.
non-blocking
78.
I/O
79.
model that
80.
makes
81.
it
82.
lightweight
83.
and
84.
efficient, perfect
85.
for
86.
data-intensive
87.
real-time
88.
applications
89.
that
90.
run
91.
across
92.
distributed
93.
devices.
94.
95.
Node.js란? Node.js
96.
is
97.
a
98.
platform
99.
built
100.
on
101.
Chrome's
102.
JavaScript
103.
runtime for
104.
easily
105.
building
106.
fast,
107.
scalable
108.
network
109.
applications. Node.js
110.
uses
111.
an
112.
event-driven,
113.
non-blocking
114.
I/O
115.
model that
116.
makes
117.
it
118.
lightweight
119.
and
120.
efficient, perfect
121.
for
122.
data-intensive
123.
real-time
124.
applications
125.
that
126.
run
127.
across
128.
distributed
129.
devices.
130.
131.
Node.js란? Node.js
132.
is
133.
a
134.
platform
135.
built
136.
on
137.
Chrome's
138.
JavaScript
139.
runtime for
140.
easily
141.
building
142.
fast,
143.
scalable
144.
network
145.
applications. Node.js
146.
uses
147.
an
148.
event-driven,
149.
non-blocking
150.
I/O
151.
model that
152.
makes
153.
it
154.
lightweight
155.
and
156.
efficient, perfect
157.
for
158.
data-intensive
159.
real-time
160.
applications
161.
that
162.
run
163.
across
164.
distributed
165.
devices.
166.
167.
Node.js란? Node.js
168.
is
169.
a
170.
platform
171.
built
172.
on
173.
Chrome's
174.
JavaScript
175.
runtime for
176.
easily
177.
building
178.
fast,
179.
scalable
180.
network
181.
applications. Node.js
182.
uses
183.
an
184.
event-driven,
185.
non-blocking
186.
I/O
187.
model that
188.
makes
189.
it
190.
lightweight
191.
and
192.
efficient, perfect
193.
for
194.
data-intensive
195.
real-time
196.
applications
197.
that
198.
run
199.
across
200.
distributed
201.
devices.
202.
203.
흔한
204.
HTTP
205.
서버
206.
예제 example.js var
207.
http
208.
=
209.
require('http'); http.createServer(function
210.
(req,
211.
res)
212.
{
213.
214.
res.writeHead(200,
215.
{'Content-Type':
216.
'text/plain'});
217.
218.
res.end('Hello
219.
Worldn'); }).listen(8000,
220.
'127.0.0.1'); console.log('Server
221.
running
222.
at
223.
http://127.0.0.1:8000/');
224.
흔한
225.
HTTP
226.
서버
227.
예제 $
228.
node
229.
example.js Server
230.
running
231.
at
232.
http://127.0.0.1:8000/
233.
좀
234.
더
235.
자세한
236.
내용은? node.js
237.
실용적인
238.
것! -
239.
정의나
240.
특성은
241.
검색하면
242.
쉽게
243.
찾을
244.
수
245.
있으니, -
246.
오늘은
247.
실용적인
248.
것만
249.
보기로
250.
해요. -
251.
모듈
252.
정의와
253.
패키지
254.
매니저에
255.
대해서만!
256.
모듈
257.
정의하기 -
258.
하나의
259.
파일은
260.
하나의
261.
모듈.
262.
파일명이
263.
모듈
264.
이름 -
265.
`.js`
266.
확장자를
267.
사용 -
268.
모듈의
269.
API를
270.
외부로
271.
공개하려고
272.
할
273.
땐,
274.
275.
276.
277.
`exports`
278.
변수의
279.
속성으로
280.
할당 -
281.
생성자나
282.
전체
283.
객체를
284.
내보낼
285.
땐
286.
`module.exports`에
287.
할당
288.
모듈
289.
정의하기 foo.js var
290.
myName
291.
=
292.
‘foo’; exports.whoami
293.
=
294.
function
295.
()
296.
{
297.
298.
return
299.
myName; };
300.
모듈
301.
가져오기 require(모듈명
302.
또는
303.
경로) require(‘http’);
304.
//--
305.
코어
306.
모듈 require(‘./foo’);
307.
//--
308.
동일한
309.
디렉토리의
310.
파일 require(‘foo’);
311.
//--
312.
다른
313.
패키지의
314.
모듈
315.
모듈
316.
정의하기 bar.js var
317.
foo
318.
=
319.
require(‘./foo.js’); foo.whoami();
320.
//--
321.
‘foo’
322.
CommonJS
323.
/
324.
Modules -
325.
CommonJS:
326.
자바스크립트
327.
생태계를
328.
위한
329.
API
330.
표준
331.
제정 -
332.
Modules
333.
API:
334.
모듈을
335.
정의하고
336.
가져오는
337.
것에
338.
대한
339.
API -
340.
node.js,
341.
MongoDB,
342.
RingoJS
343.
등에서
344.
구현 -
345.
연관
346.
주제:
347.
AMD,
348.
RequireJS
349.
모듈
350.
로딩
351.
순서 1.
352.
코어
353.
모듈이면
354.
바로
355.
리턴 2.
356.
‘./’,
357.
‘/’,
358.
‘../’
359.
등
360.
절대/상대
361.
경로로
362.
시작하면
363.
파일이나
364.
디렉토리
365.
로드 3.
366.
이름에
367.
해당하는
368.
외부
369.
모듈
370.
로드 4.
371.
못
372.
찾으면
373.
`not
374.
found`
375.
오류
376.
던짐 http://nodejs.org/api/modules.html#modules_all_together
377.
패키지
378.
관리 -
379.
NPM:
380.
Node
381.
Package
382.
Manager -
383.
https://npmjs.org/ -
384.
노드
385.
인스톨에
386.
기본으로
387.
포함되어
388.
있음 $
389.
npm
390.
외부
391.
패키지
392.
추가하기 $
393.
npm
394.
install
395.
packageName
396.
#
397.
다른
398.
패키지
399.
설치 -
400.
설치한
401.
외부
402.
패키지는
403.
`node_modules`
404.
디렉토리에
405.
추가
406.
의존
407.
모듈
408.
관리하기 -
409.
프로젝트의
410.
의존
411.
모듈을
412.
관리하고자
413.
한다면? -
414.
내가
415.
만든
416.
패키지를
417.
배포하고
418.
싶다면? -
419.
먼저,
420.
`package.json`을
421.
정의한다.
422.
package.json -
423.
패키지의
424.
내용을
425.
정의하고
426.
있는
427.
매니페스트
428.
파일 -
429.
http://package.json.nodejitsu.com/ $
430.
npm
431.
init
432.
#
433.
package.json
434.
생성
435.
외부
436.
패키지
437.
추가하기 $
438.
npm
439.
install
440.
packageName
441.
--save
442.
#
443.
package.json에
444.
추가 $
445.
npm
446.
install
447.
packageName
448.
--save-dev
449.
#
450.
개발용 $
451.
npm
452.
install
453.
#
454.
`package.json`의
455.
정보로
456.
의존
457.
패키지
458.
설치
459.
실습 -
460.
네이버
461.
오픈
462.
API로
463.
커맨드라인에서
464.
실시간
465.
급상승어
466.
가져오기 -
467.
커맨드라인에서
468.
결과
469.
출력하기 -
470.
만든
471.
모듈을
472.
npm
473.
리파지터리로
474.
퍼블리시하기
475.
실습 $
476.
npm
477.
install
478.
nsrank require(‘nsrank’).get(function
479.
(ranks)
480.
{
481.
482.
483.
484.
console.log(ranks); });
485.
실습 $
486.
nsrank 1
487.
김동현 2
488.
맥도날드
489.
할머니 3
490.
김동현
491.
에릭실바 4
492.
조선이공대
493.
실습 url.txt API
494.
URL
495.
정보 apiUrlReader.js URL
496.
읽어오기 nsrank.js 랭크
497.
가져오기 cli.js 커맨드라인
498.
출력
499.
npm에
500.
등록하기 -
501.
npm
502.
계정
503.
생성:
504.
https://npmjs.org/signup -
505.
커맨드라인에서
506.
로그인
507.
508.
509.
510.
$
511.
npm
512.
login -
513.
패키지를
514.
완성한
515.
디렉토리에서
516.
퍼블리시(업데이트도
517.
동일)
518.
519.
520.
521.
$
522.
npm
523.
publish
524.
QA
525.
더
526.
알아보기(대표적인
527.
외부
528.
모듈) 모듈
529.
검색은
530.
`npmjs.org`나
531.
구글에서~ -
532.
express:
533.
웹
534.
애플리케이션
535.
프레임워크 -
536.
connect:
537.
HTTP
538.
미들웨어
539.
프레임워크 -
540.
socket.io:
541.
리얼타임
542.
앱
543.
지원을
544.
위한
545.
라이브러리 -
546.
grunt:
547.
빌드
548.
도구
549.
더
550.
알아보기(Callback
551.
Hell) 중첩
552.
콜백은
553.
어떻게
554.
해결할
555.
수
556.
있을까? -
557.
중첩된
558.
코드를
559.
각각의
560.
함수로
561.
분리 -
562.
비동기
563.
처리를
564.
위한
565.
모듈을
566.
활용:
567.
async
568.
모듈 -
569.
프라미스
570.
패턴을
571.
활용:
572.
Promises
573.
Pattern,
574.
Q
575.
Library -
576.
관련
577.
문서
578.
579.
580.
581.
-
582.
http://callbackhell.com/
583.
584.
585.
586.
-
587.
How
588.
to
589.
avoid
590.
long
591.
nesting
592.
of
593.
asynchronous
594.
functions
595.
in
596.
Node.js?
597.
감사합니다!
Jetzt herunterladen