Thursday, March 24, 2011

Node

Node.js is an event-driven I/O framework for the V8 JavaScript engine on Unix-like platforms. It is intended for writing scalable network programs such as web servers. That’s right, a web server written in JavaScript! Server side JavaScript is a very hot topic right now, and the idea of an end-to-end solution with the same language on both the client and the server is a nice idea. While Node is really aimed more at high-performance, high-concurrency asynchronous server development, the “one language” idea is a novel bit of added sugar.


But what’s that, “Unix-like” platforms? What about Windows? Sure, you can run linux on a VM, or on a separate partition, but what if you want to run node directly within Windows?


Well, I came across a post by an Aussie named Tatham Oddie that addressed just that question, and now I have node running on my Windows 7 box!:


http://blog.tatham.oddie.com.au/2011/03/16/node-js-on-windows/


My first node server, displaying “hello world,” is up and running, and I’m juiced to start digging deeper and writing practical server implementations.


My short term goal is to build a simple end-to-end solution with all the pieces I’ve talked about recently: node as the server, RequireJS client-side modules, jQuery Templates, and jQuery DataLink


Stay tuned…


Friday, March 18, 2011

The code you write makes you a programmer. The code you delete makes you a good one. The code you don’t have to write makes you great one.

Mario Fusco

Friday, March 11, 2011

Curry Anyone?

Link: Curry Anyone?

An interesting article on currying as it pertains to JavaScript.

Thursday, March 10, 2011

Then finally, there is that question of code privacy. This is a lost cause. There is no transformation that will keep a determined hacker from understanding your program. …If you don’t want people to see your programs, unplug your server.

Douglas Crockford

Tuesday, March 8, 2011

A C program is like a fast dance on a newly waxed dance floor by people carrying razors.

Waldi Ravens