Successfully reported this slideshow.
Q u i c k   t o u r
SummaryWhat  ? Why  ?Non blocking API exampleEvent programming modelExpress, Socket.IO and modulesHands OnBest practicesPr...
What is Node ?Server-side JavascriptNode.js javascript implementation is V8 JavascriptEngineProvide an easy way to build s...
What is Node ?
Node sample
Another blocking      API
Another blocking      API
Non blocking API
Server   Node Core
Request / Response
Event programming      modelEvents are the heart of Node.jsEverything is event basedYou can create yours own events
event sample
ModulesEvery modules in NPMWeb FrameworksQuick starterProductivity toolsTesting...
CoffeeScript
Node Express Boilerplate
Express
Express
Jade
Underscore.js
Async.js
Socket.io
Socket.io
Socket.io
But also...WinstonNodemonSupervisorForeverZombieVows...
Create your module !
And now... hands  on Node.js !
Best practiceRespect Node callback convention :function(err, obj) {...}Prevent callback of callback of callback ofcallback...
API Stability
API Stability
API Stability
Heroku
Nodejitsu
Nodester / Appfog
Who is using NodeCBS, LinkedIn and Walmart (mobile server)Mozilla (browser API support)EBay (HTTP API service)Klout (with ...
+Share code between client and serverJavascript full stack (+ JSON in database !)DocumentationHuge communityNPMStabilization
-Exception not readableOnly one thread (also an advantage)Cluster in heavy developmentNon async third party libTooling (In...
LinksQuick tour : http://www.slideshare.net/the_undefined/nodejs-a-quick-tourNode beginner : http://nodebeginner.org/Hands ...
THANK YOU !
Node.js Quick Tour - JUG Summer Camp 2012
Node.js Quick Tour - JUG Summer Camp 2012
Upcoming SlideShare
Loading in …5
×

Node.js Quick Tour - JUG Summer Camp 2012

1,511 views

Published on

A quick tour of Node.js and its ecosystem. Given at the JUG Summer Camp 2012 : https://sites.google.com/site/jugsummercamp/presentations#Tout

Published in: Technology, Business
  • Be the first to comment

Node.js Quick Tour - JUG Summer Camp 2012

  1. 1. Q u i c k t o u r
  2. 2. SummaryWhat  ? Why  ?Non blocking API exampleEvent programming modelExpress, Socket.IO and modulesHands OnBest practicesPro & Cons
  3. 3. What is Node ?Server-side JavascriptNode.js javascript implementation is V8 JavascriptEngineProvide an easy way to build scalable networkprogramsSingle ThreadedWritten by Ryah Dahl
  4. 4. What is Node ?
  5. 5. Node sample
  6. 6. Another blocking API
  7. 7. Another blocking API
  8. 8. Non blocking API
  9. 9. Server Node Core
  10. 10. Request / Response
  11. 11. Event programming modelEvents are the heart of Node.jsEverything is event basedYou can create yours own events
  12. 12. event sample
  13. 13. ModulesEvery modules in NPMWeb FrameworksQuick starterProductivity toolsTesting...
  14. 14. CoffeeScript
  15. 15. Node Express Boilerplate
  16. 16. Express
  17. 17. Express
  18. 18. Jade
  19. 19. Underscore.js
  20. 20. Async.js
  21. 21. Socket.io
  22. 22. Socket.io
  23. 23. Socket.io
  24. 24. But also...WinstonNodemonSupervisorForeverZombieVows...
  25. 25. Create your module !
  26. 26. And now... hands on Node.js !
  27. 27. Best practiceRespect Node callback convention :function(err, obj) {...}Prevent callback of callback of callback ofcallback... by using async.* (series...)Handle errors !Let it crash
  28. 28. API Stability
  29. 29. API Stability
  30. 30. API Stability
  31. 31. Heroku
  32. 32. Nodejitsu
  33. 33. Nodester / Appfog
  34. 34. Who is using NodeCBS, LinkedIn and Walmart (mobile server)Mozilla (browser API support)EBay (HTTP API service)Klout (with Socket.IO)Yammer (application platform)CouchOne (async background tasks)DocumentCloud (full webapp)Many others (Voxer, geekli.st, Twitter, Yahoo!, TranslateIT...)
  35. 35. +Share code between client and serverJavascript full stack (+ JSON in database !)DocumentationHuge communityNPMStabilization
  36. 36. -Exception not readableOnly one thread (also an advantage)Cluster in heavy developmentNon async third party libTooling (IntelliJ IDEA rocks !)
  37. 37. LinksQuick tour : http://www.slideshare.net/the_undefined/nodejs-a-quick-tourNode beginner : http://nodebeginner.org/Hands on Node.js : http://nodetuts.com/handson-nodejs-book.htmlNode.js in Action : http://www.manning.com/cantelonDailyJS : http://dailyjs.comNodejitsu : http://docs.nodejitsu.com
  38. 38. THANK YOU !

×