tisdag 20 mars 2012

Software Passion: Node.js

http://www.softwarepassion.se/speakers.do?name=anders-janmyr
https://twitter.com/intent/user?screen_name=andersjanmyr
http://anders.janmyr.com/2011/05/not-very-short-introduction-to-nodejs.html

The event loop
the real event loop

Why javascript:
-it is everywhere.
-everything wll eventually be written in it.

Speed
-threads vs events


keeps connections open by default

packages:
express - servers
connect - used by express
request - calling servers

Templating engines
Jade, Mu, ejs, eco....

Libary magick
Socket.io - connecting to stuff.
Tower.js - rails for node

Testing:
asserting is built in to the framwork
testing framworks builds on that.
NodeUnit

Tools
Nodmon - relods on save.
forever -

Debugging
node-inspektor

Deployment
Heroku
Cloud foundary
If you run it your self.... think of things.