• Like
  • Save
Node.js Quick Tour - JUG Summer Camp 2012
Upcoming SlideShare
Loading in...5
×

Node.js Quick Tour - JUG Summer Camp 2012

  • 502 views
Uploaded 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

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

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
502
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

  • 1. Q u i c k t o u r
  • 2. SummaryWhat  ? Why  ?Non blocking API exampleEvent programming modelExpress, Socket.IO and modulesHands OnBest practicesPro & Cons
  • 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. What is Node ?
  • 5. Node sample
  • 6. Another blocking API
  • 7. Another blocking API
  • 8. Non blocking API
  • 9. Server Node Core
  • 10. Request / Response
  • 11. Event programming modelEvents are the heart of Node.jsEverything is event basedYou can create yours own events
  • 12. event sample
  • 13. ModulesEvery modules in NPMWeb FrameworksQuick starterProductivity toolsTesting...
  • 14. CoffeeScript
  • 15. Node Express Boilerplate
  • 16. Express
  • 17. Express
  • 18. Jade
  • 19. Underscore.js
  • 20. Async.js
  • 21. Socket.io
  • 22. Socket.io
  • 23. Socket.io
  • 24. But also...WinstonNodemonSupervisorForeverZombieVows...
  • 25. Create your module !
  • 26. And now... hands on Node.js !
  • 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. API Stability
  • 29. API Stability
  • 30. API Stability
  • 31. Heroku
  • 32. Nodejitsu
  • 33. Nodester / Appfog
  • 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. +Share code between client and serverJavascript full stack (+ JSON in database !)DocumentationHuge communityNPMStabilization
  • 36. -Exception not readableOnly one thread (also an advantage)Cluster in heavy developmentNon async third party libTooling (IntelliJ IDEA rocks !)
  • 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. THANK YOU !