Feb 102013
 
Automate Your Development Environment With Vagrant

Vagrant leverages virtualization and automated system configuration to deliver you customized virtual environments for your development projects. With VirtualBox and its comprehensive API under the hood, Vagrant creates and manages custom virtual environments to your exact specification. But wait, we’ve been able to create virtual machines for years. What’s new here? The problem is configuration of a brand new virtual macine for each project is a massive chore, reinstalling all of your dev tools each time sounds like torture, and developers will still each want VMs of different operating systems…what are we solving? Vagrant does it differently. By giving you the option to leverage powerful, proven automated configuration technologies such as Chef or Puppet (as well as your own custom shell scripts, if you like), Vagrant takes the time and tedium out of configuring a virtual environment

Full Post
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
Aug 042012
 
JavaScript Performance Rundown, 2012

Before giving a conference talk on Node.js earlier this summer, I ran some limited JavaScript benchmark tests, since I couldn’t find any recent (this year) data posted. Inspired by John Resig’s performance analysis a few years ago, I decided to expand on that study by updating browsers and adding more benchmark suites to get a more comprehensive view of performance. I’ll be presenting results for the 5 top desktop browsers…

Full Post
 Posted by at 9:23 pm
37 queries in 1.073 seconds