First Time Node - #3 Setting Up Your Development Environment

One of the most important parts of writing JavaScript applications (whether for Node or for the browser) is surrounding yourself with good tools. JavaScript can be quite verbose at times, with lots of punctuation, and things like syntax-highlighting, linting and smart code-completion dramatically reduce the bugs in your code. In »

First Time Node - #2 Packages

Node comes bundled with npm for managing dependencies. You can import as many libraries from npm into your application as you want. There is a package for almost anything you could imagine in npm, and it includes well-maintained packages from large businesses all the way down to random side-projects from »

First Time Node - #1 Getting Started

This is the first of a short series which I am calling First Time Node. It is not meant to be comprehensive, it is not meant to teach best practices, it is simply here for someone who wants to get started and Node and needs help taking their first steps. »

Destructuring - One Use Case

I've written previously about some of my favorite features of ES2015 (formerly known as ES6). If you have read those, you probably know that I really like string interpolation, block-scoped variables, and context-preserving arrow functions. But one feature which I have not used until now is object and array destructuring. »

Props and State in React.js

React.js is the most powerful tool I have found for building UI components. It is amazing to be able to write my views in JavaScript as simple functions, then just re-render my view any time the data changes. Unlike Backbone and many other front-end frameworks, React does not wipe »