Toggle navigation
Toggle navigation
This project
Loading...
Sign in
진성욱
/
OSS
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
진성욱
2020-04-23 20:04:08 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6d5e12d5c7d8d2cf8e1fc0b873a2f54f87b00d65
6d5e12d5
1 parent
ae141bcc
Updated Experiments
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
0 additions
and
32 deletions
Experiments/experiments07/Assignments/02/consumer.js
Experiments/experiments07/Assignments/02/producer.js
Experiments/experiments08/assignments/assignment01/app.js → Experiments/express/assignments/assignment01/app.js
Experiments/experiments08/assignments/assignment01/package.json → Experiments/express/assignments/assignment01/package.json
Experiments/experiments08/assignments/assignment02/app.js → Experiments/express/assignments/assignment02/app.js
Experiments/experiments08/assignments/assignment02/package.json → Experiments/express/assignments/assignment02/package.json
Experiments/experiments08/tutorials/approute/app.js → Experiments/express/tutorials/approute/app.js
Experiments/experiments08/tutorials/approute/package.json → Experiments/express/tutorials/approute/package.json
Experiments/experiments08/tutorials/expressrouter/app.js → Experiments/express/tutorials/expressrouter/app.js
Experiments/experiments08/tutorials/expressrouter/birds.js → Experiments/express/tutorials/expressrouter/birds.js
Experiments/experiments08/tutorials/expressrouter/package.json → Experiments/express/tutorials/expressrouter/package.json
Experiments/experiments08/tutorials/helloworld/app.js → Experiments/express/tutorials/helloworld/app.js
Experiments/experiments08/tutorials/helloworld/package.json → Experiments/express/tutorials/helloworld/package.json
Experiments/experiments08/tutorials/multiplehandler/app.js → Experiments/express/tutorials/multiplehandler/app.js
Experiments/experiments08/tutorials/multiplehandler/package.json → Experiments/express/tutorials/multiplehandler/package.json
Experiments/experiments08/tutorials/render/app.js → Experiments/express/tutorials/render/app.js
Experiments/experiments08/tutorials/render/package.json → Experiments/express/tutorials/render/package.json
Experiments/experiments08/tutorials/render/views/index.ejs → Experiments/express/tutorials/render/views/index.ejs
Experiments/experiments08/tutorials/routeparameter/app.js → Experiments/express/tutorials/routeparameter/app.js
Experiments/experiments08/tutorials/routeparameter/package.json → Experiments/express/tutorials/routeparameter/package.json
Experiments/experiments08/tutorials/routingpath/app.js → Experiments/express/tutorials/routingpath/app.js
Experiments/experiments08/tutorials/routingpath/package.json → Experiments/express/tutorials/routingpath/package.json
Experiments/experiments08/tutorials/session/app.js → Experiments/express/tutorials/session/app.js
Experiments/experiments08/tutorials/session/package.json → Experiments/express/tutorials/session/package.json
Experiments/experiments08/tutorials/simplerouting/app.js → Experiments/express/tutorials/simplerouting/app.js
Experiments/experiments08/tutorials/simplerouting/package.json → Experiments/express/tutorials/simplerouting/package.json
Experiments/experiments08/tutorials/specialrouting/app.js → Experiments/express/tutorials/specialrouting/app.js
Experiments/experiments08/tutorials/specialrouting/package.json → Experiments/express/tutorials/specialrouting/package.json
Experiments/experiments08/tutorials/staticfiles/app.js → Experiments/express/tutorials/staticfiles/app.js
Experiments/experiments08/tutorials/staticfiles/package.json → Experiments/express/tutorials/staticfiles/package.json
Experiments/experiments08/tutorials/staticfiles/public/icon.png → Experiments/express/tutorials/staticfiles/public/icon.png
Experiments/experiments08/tutorials/staticfiles/public/index.html → Experiments/express/tutorials/staticfiles/public/index.html
Experiments/experiments07/Assignments/01/app.js → Experiments/nodejs/Assignments/app.js
Experiments/experiments07/Assignments/01/mymodule.js → Experiments/nodejs/Assignments/mymodule.js
Experiments/experiments07/Tutorial/event01/app.js → Experiments/nodejs/Tutorial/event01/app.js
Experiments/experiments07/Tutorial/event02/app.js → Experiments/nodejs/Tutorial/event02/app.js
Experiments/experiments07/Tutorial/mymodule/app.js → Experiments/nodejs/Tutorial/mymodule/app.js
Experiments/experiments07/Tutorial/mymodule/mymodule.js → Experiments/nodejs/Tutorial/mymodule/mymodule.js
Experiments/experiments07/Assignments/02/consumer.js
deleted
100644 → 0
View file @
ae141bc
// Consumer 코드는 변경할 필요 없음
var
Producer
=
require
(
'./producer'
);
var
producer
=
new
Producer
();
producer
.
on
(
'add'
,
function
(
t
)
{
console
.
log
(
'add:'
,
t
);
});
producer
.
start
();
Experiments/experiments07/Assignments/02/producer.js
deleted
100644 → 0
View file @
ae141bc
var
inherits
=
require
(
'util'
).
inherits
;
var
EventEmitter
=
require
(
'events'
).
EventEmitter
;
var
Producer
=
function
()
{
if
(
!
(
this
instanceof
Producer
))
return
new
Producer
();
EventEmitter
.
call
(
this
);
}
// inherits를 활용, Producer construct가 EventEmitter Construct를 상속받음
inherits
(
Producer
,
EventEmitter
);
// producer의 start 함수를 재정의
Producer
.
prototype
.
start
=
function
()
{
// Random 스트링을 생성하여 이것을 Event에 실어서 보내야 하는 코드 작성
}
module
.
exports
=
Producer
;
Experiments/exp
eriments08
/assignments/assignment01/app.js
→
Experiments/exp
ress
/assignments/assignment01/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/assignments/assignment01/package.json
→
Experiments/exp
ress
/assignments/assignment01/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/assignments/assignment02/app.js
→
Experiments/exp
ress
/assignments/assignment02/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/assignments/assignment02/package.json
→
Experiments/exp
ress
/assignments/assignment02/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/approute/app.js
→
Experiments/exp
ress
/tutorials/approute/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/approute/package.json
→
Experiments/exp
ress
/tutorials/approute/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/expressrouter/app.js
→
Experiments/exp
ress
/tutorials/expressrouter/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/expressrouter/birds.js
→
Experiments/exp
ress
/tutorials/expressrouter/birds.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/expressrouter/package.json
→
Experiments/exp
ress
/tutorials/expressrouter/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/helloworld/app.js
→
Experiments/exp
ress
/tutorials/helloworld/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/helloworld/package.json
→
Experiments/exp
ress
/tutorials/helloworld/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/multiplehandler/app.js
→
Experiments/exp
ress
/tutorials/multiplehandler/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/multiplehandler/package.json
→
Experiments/exp
ress
/tutorials/multiplehandler/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/render/app.js
→
Experiments/exp
ress
/tutorials/render/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/render/package.json
→
Experiments/exp
ress
/tutorials/render/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/render/views/index.ejs
→
Experiments/exp
ress
/tutorials/render/views/index.ejs
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/routeparameter/app.js
→
Experiments/exp
ress
/tutorials/routeparameter/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/routeparameter/package.json
→
Experiments/exp
ress
/tutorials/routeparameter/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/routingpath/app.js
→
Experiments/exp
ress
/tutorials/routingpath/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/routingpath/package.json
→
Experiments/exp
ress
/tutorials/routingpath/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/session/app.js
→
Experiments/exp
ress
/tutorials/session/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/session/package.json
→
Experiments/exp
ress
/tutorials/session/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/simplerouting/app.js
→
Experiments/exp
ress
/tutorials/simplerouting/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/simplerouting/package.json
→
Experiments/exp
ress
/tutorials/simplerouting/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/specialrouting/app.js
→
Experiments/exp
ress
/tutorials/specialrouting/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/specialrouting/package.json
→
Experiments/exp
ress
/tutorials/specialrouting/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/staticfiles/app.js
→
Experiments/exp
ress
/tutorials/staticfiles/app.js
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/staticfiles/package.json
→
Experiments/exp
ress
/tutorials/staticfiles/package.json
View file @
6d5e12d
File moved
Experiments/exp
eriments08
/tutorials/staticfiles/public/icon.png
→
Experiments/exp
ress
/tutorials/staticfiles/public/icon.png
View file @
6d5e12d
6.72 KB
Experiments/exp
eriments08
/tutorials/staticfiles/public/index.html
→
Experiments/exp
ress
/tutorials/staticfiles/public/index.html
View file @
6d5e12d
File moved
Experiments/
experiments07/Assignments/01
/app.js
→
Experiments/
nodejs/Assignments
/app.js
View file @
6d5e12d
File moved
Experiments/
experiments07/Assignments/01
/mymodule.js
→
Experiments/
nodejs/Assignments
/mymodule.js
View file @
6d5e12d
File moved
Experiments/
experiments07
/Tutorial/event01/app.js
→
Experiments/
nodejs
/Tutorial/event01/app.js
View file @
6d5e12d
File moved
Experiments/
experiments07
/Tutorial/event02/app.js
→
Experiments/
nodejs
/Tutorial/event02/app.js
View file @
6d5e12d
File moved
Experiments/
experiments07
/Tutorial/mymodule/app.js
→
Experiments/
nodejs
/Tutorial/mymodule/app.js
View file @
6d5e12d
File moved
Experiments/
experiments07
/Tutorial/mymodule/mymodule.js
→
Experiments/
nodejs
/Tutorial/mymodule/mymodule.js
View file @
6d5e12d
File moved
Please
register
or
login
to post a comment