Interesting npm features and quirks you may not know about

npm is the node package manager. If you are using Node.js, you will have used it and you will be familiar with it, but since it works so well you don't take much thought into it until it doesn't ... which can have a catastrophic effect. There's an interesting tale from Tictail (the perfect npm storm) on such an event. Such tales help keep life interesting but for those that want to keep their sanity I'll go over some of these npm quirks and features you should be aware of and take some time to look into. npm2 vs npm3 »

Webpack Module Bundler

What is Webpack? Webpack is a module bundler. It takes Modules with dependencies and generates static assets representing those modules. The official webpack docs are somewhat difficult to process, so give it some time. Websites are advancing into web applications, so they are depending increasingly on JavaScipt. This outcomes in bigger amounts of code on the customer side. As a rule, using a module framework should enhance not only the development but also the user experience. Browserify or RequireJS are also popular when it comes to module systems. Both of these are extremely helpful and do a great job but »

Create a Frontend App in Backbone

We’ll be making a Superadmin Account Manager as P.O.C. frontend app. The goal of this application is to manage our accounts and users. This post will cover the basic setup of the frontend logic, based on Node.js, Bower, Grunt, Backbone.js, Require.js and Bootstrap. While this article's value is in the team approach (eg. Bower), the workflow is generally considered "best practice", even for solo projects. The main purpose of the Superadmin is to visualise users and accounts we're going to create later on in the API. Manage Packages The days where tuts had to »

Set up your Local Battleground

There is no such thing as always online. As any seasoned developer will second, domesticated or not, you need a local environment to develop. The bigger and more versatile your involvement in team-based projects, the safer you'll feel with your own little corner where you can trail and error without hordes of angry Mongols on horses boo-ing you. With *nix as the dominant webserver flavouring, we're going to assume you own a Mac. An Ubuntu VM (set up) is highly advised if you are stuck with a Windows machine. Choose your pick, based on the projects you're planning to explore. »

Brew it, goddamnit*

* You’ll thank me later. If you own a mac and are an aspiring coder, get HomeBrew. And Xcode. But this post is about brew. Homebrew installs the stuff you need that Apple didn’t. Homebrew installs packages to their own directory and then symlinks their files into /usr/local. Homebrew won’t install files outside its prefix, and you can place a Homebrew installation wherever you like. Install Just run ...the last ugly line of install code you’ll need. Homebrew uses Ruby, which handily comes already packed on your mac by default. ruby -e "$(curl -fsSL https://raw. »