nodecalgary1
Upcoming SlideShare
Loading in...5
×
 

nodecalgary1

on

  • 1,844 views

Basic intro to Node.js for the first Node.js Calgary meetup on August 4th, 2011.

Basic intro to Node.js for the first Node.js Calgary meetup on August 4th, 2011.

Statistics

Views

Total Views
1,844
Views on SlideShare
1,729
Embed Views
115

Actions

Likes
0
Downloads
8
Comments
0

2 Embeds 115

http://blog.erickryski.com 79
http://ambientescolaborativosarielpizo.wordpress.com 36

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

nodecalgary1 nodecalgary1 Presentation Transcript

  • Node.js/JavascriptCalgary Meetup #1
  • What is Node.js?• A Very Fast Asynchronous Event Driven Server• Runs On Top of Google’s V8 Javascript Engine• You Write Server Code In Javascript (Yay!)• One Of The Fastest Growing Open Source Projects
  • Apps Running On Node.js • Voxer • Sled.com • Cloudkick • Pow • Cloud9 • nodejitsu • Loggly • Calipso • Word2 • Bookfriend.me
  • How To Nodevar http = require(http);http.createServer(function (req, res) { res.writeHead(200, {Content-Type: text/plain}); res.end(Hello Worldn);}).listen(1337, "127.0.0.1");console.log(Server running at http://127.0.0.1:1337/); Code from nodejs.org
  • How To Node... Running The Server% node example.jsServer running at http://127.0.0.1:1337/ Code from nodejs.org
  • So How Does it Really Work? (Grocery Store Metaphore)
  • Did I Also Mention It’s Fast? http://arlolra.no.de/
  • Node Has Modules Frameworks (And Lots of Them) Database• express/connect • node-mongodb- native• bricks Others Testing • node-cassandraTemplating • socket.io • expresso • node-redis• jade • hook.io • nodeunit • node-mysql• ejs • jsdom • vows• moustache • everyauth • benchmark.js
  • { Managing Module "name": "My app" , "description": "It Does Cool Stuff!" , "version": "0.0.1" , "author": { Dependencies is "name": "Eric Kryski", "email": "<nodecalgary@gmail.com>" } , "private": "true" Easy! , "homepage": "http://mydomain.com" , "main": "./app.js" , "engines": {"node": "~0.4"} , "repository": {• Use npm (node package manager) } "type": "git" "url": "git@github.com/myproject/" ,• Define your package.json file , "dependencies": { "express": ">= 2.3.11" "jade": ">= 0.12.2" ,• Use npm install to grab all your , "mongoose": ">= 1.4.0" , "mongoose-auth": ">= 0.0.10" modules , "everyauth": ">=0.2.17" } , "devDependencies": { % npm install module_name "expresso": ">= 0.8.0" } }
  • Current Status• Current Stable Version is v0.4.10 (Aug. 4th, 2011)• Current Not-Stable Version is v0.5.3 (Aug. 4th, 2011)• Moving to v0.6 in ~4 weeks (Stable Windows Support)• Moving to v1.0 around end of 2011 (Speedy Windows & Unix Support)
  • Places To Get You Up And Running• http://nodejs.org/• http://howtonode.org/• http://nodetuts.com/• http://stackoverflow.com/questions/2353818/how-do-i-get-started- with-nodejs• http://groups.google.com/group/nodejs• IRC #node.js on freenode• I will be blogging at http://blog.erickryski.com