Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nodeJS-presentation
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stefan Dierauf
nodeJS-presentation
Commits
b19ac3fc
Commit
b19ac3fc
authored
10 years ago
by
Stefan Dierauf
Browse files
Options
Downloads
Patches
Plain Diff
I think it's done
parent
f8deed1f
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
files/sys-example.js
+0
-0
0 additions, 0 deletions
files/sys-example.js
slides/its-serverside-javascript.md
+17
-0
17 additions, 0 deletions
slides/its-serverside-javascript.md
slides/list.json
+2
-1
2 additions, 1 deletion
slides/list.json
slides/takeaways.md
+1
-1
1 addition, 1 deletion
slides/takeaways.md
with
20 additions
and
2 deletions
sys-example.js
→
files/
sys-example.js
+
0
−
0
View file @
b19ac3fc
File moved
This diff is collapsed.
Click to expand it.
slides/its-serverside-javascript.md
0 → 100644
+
17
−
0
View file @
b19ac3fc
## It's server-side javascript!
*You can do bad things*
```
javascript
var
http
=
require
(
'
http
'
);
var
sys
=
require
(
'
sys
'
);
var
spawn
=
require
(
'
child_process
'
).
spawn
;
http
.
createServer
(
function
(
req
,
res
)
{
var
ls
=
spawn
(
'
ls
'
,
[
'
-lh
'
,
'
/
'
]);
ls
.
stdout
.
on
(
'
data
'
,
function
(
data
)
{
res
.
writeHead
(
200
,
{
'
Content-Type
'
:
'
text/plain
'
});
res
.
end
(
data
.
toString
(
'
ascii
'
));
})
}).
listen
(
3555
,
'
127.0.0.1
'
);
```
This diff is collapsed.
Click to expand it.
slides/list.json
+
2
−
1
View file @
b19ac3fc
...
@@ -20,8 +20,9 @@
...
@@ -20,8 +20,9 @@
"the-javascript-part.md"
,
"the-javascript-part.md"
,
"event-loop.md"
,
"event-loop.md"
,
"simple-server-example.md"
,
"simple-server-example.md"
,
"its-serverside-javascript.md"
,
"popular-modules.md"
,
"popular-modules.md"
,
"other-crazy-things-you-can-do.md"
,
"other-crazy-things-you-can-do.md"
,
"takeaways.md"
,
"takeaways.md"
,
"simple-chat-server.md"
"simple-chat-server.md"
]
]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
slides/takeaways.md
+
1
−
1
View file @
b19ac3fc
...
@@ -5,6 +5,6 @@ Nodejs...
...
@@ -5,6 +5,6 @@ Nodejs...
*
is fast and simple
*
is fast and simple
*
lets the OS worry about concurrency
*
lets the OS worry about concurrency
*
uses a popular language
*
uses a popular language
*
has plenty of support + good docs
*
has plenty of support +
""
good
""
docs
*
isn't php
*
isn't php
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment