Friday, January 06, 2012

using nodejs to play with javascript mvc (jmvc) on windows - ruzz' stream of semi-consciousness

using nodejs to play with javascript mvc (jmvc) on windows - ruzz' stream of semi-consciousness: "once you have that badboy in place you can download and extract jmvc to a folder somewhere on your hard drive. add a file called app.js to the root folder you just created and put the following code in it:

var sys = require("sys"),
    http = require("http"),
    url = require("url"),
    path = require("path"),
    fs = require("fs");

http.createServer(function(request, response) {
...
}"