Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LDNJS 05 - Node

3300f69fcfb83589e73d86fcad57ff13?s=47 miksago
September 27, 2011

LDNJS 05 - Node

3300f69fcfb83589e73d86fcad57ff13?s=128

miksago

September 27, 2011
Tweet

Transcript

  1. Micheil Smith - @miksago Tuesday, 27 September 2011

  2. I work at Pusher Tuesday, 27 September 2011

  3. • Evented Server-side JavaScript • Good at handling lots of

    different kinds of I/O at the same time • Network I/O is non-blocking, file I/O is asynchronous Node.js: to quote @Ryah Tuesday, 27 September 2011
  4. Influenced by / similar to: • EventMachine (Ruby) • Twisted

    (Python) Tuesday, 27 September 2011
  5. So, Here’s Node.js, Right? • git clone git://github.com/joyent/node • git

    checkout v0.4.12 • ./configure && make install • curl http://npmjs.org/install.sh | sh • npm install express socket.io • express PROJECT Tuesday, 27 September 2011
  6. Actually, no, not really. Tuesday, 27 September 2011

  7. • Not just for the Web • Much more than

    the popular modules • I can’t teach you node.js in one evening, in fact, I doubt anyone could. Tuesday, 27 September 2011
  8. What is Node.js (#2) • Network I/O is non-blocking, file

    I/O is asynchronous • Community powered development • Set of recommendations & standards Tuesday, 27 September 2011
  9. What is Node.js (#2) • Network I/O is non-blocking, file

    I/O is asynchronous • Community powered development • Set of recommendations & standards Tuesday, 27 September 2011
  10. • 7 Core contributors, 214 total contributors • ~200 companies

    publicly using node.js • 5800+ mailing list members • 3900+ modules in NPM Community powered development Tuesday, 27 September 2011
  11. • Ryan <@ryah> Dahl • Isaac <@izs> Schlueter • TJ

    <@visionmedia> Holowaychuk • Tim <@creationix> Caswell • Marak <@maraksquires> Squires Notable people Tuesday, 27 September 2011
  12. What is Node.js (#2) • Network I/O is non-blocking, file

    I/O is asynchronous • Community powered development • Set of recommendations & standards Tuesday, 27 September 2011
  13. Some core things • Don’t block the event loop. •

    Only do user-facing actions in the main node.js process • Push all other work as far away as possible. • Be part of the community Tuesday, 27 September 2011
  14. Let’s Make Something Tuesday, 27 September 2011

  15. Thanks for listening! @miksago http://github.com/miksago Tuesday, 27 September 2011