Skip to content

Commit 32391a6

Browse files
committed
created 1-welcome
0 parents  commit 32391a6

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

1-welcome/Introduction.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Who am I?:
2+
- Will Stern
3+
- Full-time developer for over 13 years
4+
- Full-time with Node.js for over 5 years
5+
6+
What this course will cover:
7+
- Intro to Node.js
8+
- What is Node.js?
9+
- Javascript on the machine
10+
- A runtime for Google Chrome's V8 Javascript engine
11+
- What is Node.js used for?
12+
- Build Tools and Utilities
13+
- Web Applications / Web Services
14+
- What is it good at?
15+
- Lightweight Applications all the way up to very large
16+
- High Concurrency
17+
- Asyncronous Actions/Requests/non-blocking
18+
- Realtime Communication
19+
- Isomorphic Applications - shared code between server and client
20+
- Basics of Node.js Programming
21+
- Using Node.js Build Tools and Utilities
22+
- Building Web Applications With Node.js
23+
- Working with databases:
24+
- MySQL
25+
- MongoDB
26+
- Redis
27+
- Authentication and Authorization
28+
- Realtime Communication with Node.js
29+
- Deploying and Monitoring Node.js Applications
30+
- Advanced Node.js Techniques - Making Node Shine

1-welcome/calc.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
var math = require('./math');
2+
3+
var command = process.argv[2];
4+
var arguments = process.argv.slice(3).map(function(arg) {
5+
return parseFloat(arg);
6+
});
7+
8+
if (math[command]) {
9+
console.log("running:", command);
10+
console.log(math[command].apply(math, arguments));
11+
} else {
12+
console.log("command " + command + " not found!");
13+
console.log("allowed commands are: ", Object.keys(math).join(', '));
14+
}

1-welcome/math.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
add: function(x, y) {
3+
return x+y;
4+
},
5+
subtract: function(x, y) {
6+
return x-y;
7+
},
8+
squareRoot: function(x) {
9+
return Math.sqrt(x);
10+
}
11+
};

0 commit comments

Comments
 (0)