2. What?!
Server-side javascript
Built on top of Chrome V8 –
insanely fast, and getting better every day
http://code.google.com/p/v8/
C: node server.js
3. Some facts..
Not a web framework..
Non blocking I/O – event loop
Not written in javascript itself. It’s in C.
Javascript is only,
Function
Object
Number
String
Array
Wasn’t designed for TCP / network stuff by nature
4. Why
Node's goal is to provide an easy
way to build scalable network
programs.
9. Seriously, why javascript though :/
De facto standard language for web
programming
do not underestimate javascript,
https://github.com/languages
10. Nodejs is…
- Immature
- Not yet proven at large scale code size
Interesting reading:
http://teddziuba.com/2011/10/node-js-is-cancer.html
it's opaque and weird to most but completely
usable for a small group
11. Best use for..
JSON APIs –
heavy ajax call consumption
Streaming data –
parsing file uploads in real time
Soft Realtime Applications –
chat/IM, twitter, realtime scoreboards
12. Who use it
Real world app,
https://github.com/joyent/node/wiki/Projects,-
Applications,-and-Companies-Using-Node
.. growing rapidly each days
13. The beauty of Node is that you can write
entirely simple and mundane JavaScript to get
these results.
14. Node Modules
NPM – Node package manager
http://search.npmjs.org/
C: npm install express jade stylus
Or, define it in package.json format,
Then just hit npm install
15. { live demo session }
Stalk here for more gossips:
http://nodejs.org
http://howtonode.org