Warning: file_put_contents(/home/cacois/codehenge.net/blog/wp-content/uploads/custom-css/) [function.file-put-contents]: failed to open stream: Is a directory in /home/cacois/codehenge.net/blog/wp-content/plugins/imporved-simpler-css/lib/cpt-to-file.php on line 228
Aug 252012
 
Using Socket.io With Express 3.x

Excited about version 3.x of Express, the Node.js web framework? It has some great new features, and is certainly worth migrating to. Many of my apps make use of Socket.io, one of my favorite Node modules, and in this case, and as of now (Socket.io v9.1) the migration isn’t as smooth as it could be. Until socket.io catches up with the changes to Express, here’s how you can use it with Express 3.x.

Full Post
Dec 052011
 
Getting Started With node.js and socket.io (v0.7+) - Part 2

In my last post I went through installation and setup of some great new tools: node.js and socket.io. Now that we have node and socket.io installed, its time to play around a bit to understand how to use these new toys. In this post I’ll be writing a simple http server and some client-side html/javascript to go with it.

Full Post
May 012011
 
Getting Started With node.js and socket.io - Part 2

In my last post I went through installation and setup of some great new tools: node.js and socket.io. Now that we have node and socket.io installed, its time to play around a bit to understand how to use these new toys. In this post I’ll be writing a simple http server and some client-side html/javascript to go with it.

Full Post
Apr 172011
 
Getting Started With node.js and socket.io - Part 1

Like many developers out there, I’ve been interested in the potential of real-time, high-throughput client/server communication in web apps using node.js for some time.

In this post I’ll go through the installation of node.js and socket.io on OSX, then in my next post we’ll make a simple test app from scratch (which helps me to learn far better than just running a pre-made example).

Full Post