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

Node.js Quick Tour - JUG Summer Camp 2012

on

  • 901 views

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

Statistics

Views

Total Views
901
Views on SlideShare
901
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \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

Node.js Quick Tour - JUG Summer Camp 2012 Node.js Quick Tour - JUG Summer Camp 2012 Presentation Transcript

  • Q u i c k t o u r
  • SummaryWhat  ? Why  ?Non blocking API exampleEvent programming modelExpress, Socket.IO and modulesHands OnBest practicesPro & Cons
  • What is Node ?Server-side JavascriptNode.js javascript implementation is V8 JavascriptEngineProvide an easy way to build scalable networkprogramsSingle ThreadedWritten by Ryah Dahl View slide
  • What is Node ? View slide
  • 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... by using async.* (series...)Handle errors !Let it crash
  • 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 Socket.IO)Yammer (application platform)CouchOne (async background tasks)DocumentCloud (full webapp)Many others (Voxer, geekli.st, Twitter, Yahoo!, TranslateIT...)
  • +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 (IntelliJ IDEA rocks !)
  • 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
  • THANK YOU !