Saturday, November 13, 2010

Hello node

I've been playing a bit with node.js recently, but have had trouble getting my friends to try it out. They hate javascript, can't see how this framework is any different, won't even give it a look, and further more evented programming sucks.

Well, everyone is entitled to their opinion, but you can't really have a valid opinion without the information. Node.js and other event driven models (EventMachine in ruby, etc) are going to continue to be a huge deal as more applications require more realtime information to be pushed between client and server, let's at least know a little about the tools that are probably carrying the future on their actively-under-development shoulders.

In this spirit, I've put together a very simple "hello world" application in Express (web framework for node.js), available on my github profile here: Hello Node

You see how nice I am? You don't even have to write your own hello world, I just did it for you, all you have to do is check out the code and read through all 4 files therein to get a feeling for why this new tool really isn't all that unfamiliar compared to whatever web framework you're working with now. No fan-boy over-hyped blog post about it's infinite scalability, no drooling and sobbing over how wonderful it is, just a few blocks of harmless code that wants to be your friend. Still hate everything about it? Fine, but at least you'll have some ground to stand on from legitimately having taken a look.

No comments: