This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Downloadable versions are available free1 online at: http://nelsonic.gitbooks.io/node-js-by-example/ in MOBI (Kindle), ePUB (iBooks) and PDF (everything else).
- A computer with internet access
- Time: 30h (e.g. 2 months 30 mins per day or 1 week intensive)
Node.js lets you easily build networked software (websites, applications "apps" using JavaScript).
Node.js is not "point-and-click" like WordPress, SquareSpace or Salesforce.com; you will need to write some "code". But as I will demonstrate, that's a lot easier than it sounds (if you're new to writing code), gives you more power/flexibility and puts you in full control.
If you have never written any code of any sort before, I recommend you starting with: http://gitbookio.gitbooks.io/javascript/ You need to have JavaScript basics to make the most of Node.js
Yes! Some of the biggest organisations/companies in the world are using Node.js in Production systems.
Alibaba,
Ajax.org,
Box.com, British Sky Broadcasting (Sky/Now TV),
CNN,
Cloudup,
Conde Nast,
DirectTV,
Dow Jones,
eBay,
Etsy,
FeedHenry,
GitHub,
Google,
Groupon,
HBO,
Help.com,
HP,
iTV,
Joyent (duh!),
Klout,
LinkedIn,
McDonalds,
Medium,
Mozilla,
NetFlix,
OpenTable,
PayPal,
Pearson,
Q,
Revolt,
Square,
Tesco,
ThomasCook,
Trello,
Uber,
Voxer,
Walmart,
Wikimedia (in progress of moving to SOA with node!)
Yahoo,
Yammer,
Yandex,
Zendesk
Want more? See: http://nodejs.org/industry/ and
https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node
The node.js ("core") has many useful modules.
Bookmark: http://nodejs.org/api (you will come back to it)
Which node.js core package(s) can/should I use?
Every core module has a "Stability Index" rating on the node.js API.
General rule: If you are being paid to write code
that runs in node.js,
pick core modules/methods
with stability Stable, API Frozen and Locked.
- cluster is Experimental - don't use
- domain is Unstable - don't use
- path is Stable - use
- events is Frozen - use
- assert is Locked - use
Core Modules to Learn
- path
- os
Community Modules to Learn:
1 We believe all knowledge/education should be freely available to anyone with the desire to learn regardless of their financial means! If you find this book and accompanying exercises useful, all we ask is that you share your appreciation with others by staring & tweeting! Thanks!