Node.js
Updating npm, node.js and express.js globally
Sat, 2011-11-19 11:23 — victorkaneThere are lots of bubbly install howto's on the web concerning the Node programming environment. But what are the best practices for updating, really?
Updating npm
First of all I tried the obvious:
Updated code in a repo ready to run for two great and useful Node.js Express CouchDB (and MongoDB) tutorials
Thu, 2011-06-23 08:54 — victorkaneUp-to-date, executable code for two great tutorials on rolling a blog with express, Node.js and a noSQL database: https://github.com/victorkane/couchblogtut
The first, Blog rolling with mongoDB, express and Node.js, takes you "through the steps required to get a fully-functional (albeit feature-light) persistent blogging system running on top of node. It was first published on February 18, 2010 by Ciaran Jessup and last updated May 14, 2010.
The second, Blog rolling with CouchDB, Express and Node.js, was published on February 7, 2011 by Ian Wootten, and was commented on just this last April.
This pedagogical repo brings it up to date (as of June 22, 2011), makes a MongoDB branch basing the persistence on MongoDB; and a CouchDB branch (ultimately merged into Master) after the more recent article.
Hey Jade!
Tue, 2011-06-14 09:50 — victorkaneFar from being a wannabe "missing manual" for Jade this article is simply my own "path of understanding" of how the Jade template engine is utilized in the Express framework, expressed in a simple "work in progress" app which you can find here: https://github.com/victorkane/heyjade
Now, everyone complains that there is "no documentation" for Jade. Actually, just on github, there is a lot in the Readme.md, plus a huge examples directory, plus a jade example in the Express source. Not to mention the Express Guide, which enlightens us on many aspects of how Jade is used with Express.
So I thought I would just work my way through a good part of that, by building a little sample app on github that you can step through by branching through the commits. Again, please follow along here, and check back every now and then for updates as my comprehension goes deeper and deeper (I hope).: https://github.com/victorkane/heyjade
Simple Vim plugin management for Javascript development
Thu, 2011-06-09 14:30 — victorkaneI've written about vim as an IDE before. In this case, however, in order to prepare for node hacking, and also in line with a recent discussion about IDE's on the node mailing list, I'm documenting here notes I made while getting geared up with gvim (macvim) for SSJS development with some of the more important plugins that were mentioned (you know, it's that "so how do I actually do this" moment) (this should all work fine on either MacBook Pro or Ubuntu/Linux):
Diving into Node.js - getting started roundup, wrapped by two special gems
Wed, 2011-06-01 10:21 — victorkaneThis article rounds up what is available on the internet right now for getting started with Node.js, and includes a gem at the beginning a special recommendation at the end.
- Ryan Dahl's 2009 presentation of Node.js at JSConf 2009
As cited in the Node.js mailing list, this gem is still best single intro to the concepts, architecture and general overview of Node.js despite the passing of two years (a long time in SSJS land!). - 7 Free E-Books and Tutorials for Learning and Mastering Node.js lists several sources, and I will outline a general description of each below.
- edit (best dive in deep free resource): The "Let's make a web app" series of articles and accompanying github repo commits conforming the Nodepad editor project (built on Node.js, Express.js and MongoDB) on the dailyjs.com blog, written by Alex Young. Continually updated by Alex as different versions of node, npm, etc. emerge, it will "walk you through building a web app with Node, covering all the major areas you’ll need to face when building your own applications."
- edit (deserves special mention): Hands-on Node.js http://nodetuts.com/handson-nodejs-book.html
You can download the first 60 pages of this $3.99 book for free. My verdict: looks like it actually gives devs what they need to start building applications. Will write review after working with it.
Code: https://github.com/pgte/handson_nodejs_source_code - edit: http://www.ibm.com/developerworks/cloud/library/cl-nodejscloud/
- Chapter 14 of Test-Driven JavaScript Development is a gem! Work through this! Live like this! See comments below to see why.





Recent comments
7 weeks 1 day ago
10 weeks 19 hours ago
10 weeks 20 hours ago
10 weeks 20 hours ago
11 weeks 4 days ago
13 weeks 3 days ago
15 weeks 2 days ago
17 weeks 2 days ago
20 weeks 5 days ago
22 weeks 2 days ago