Using a module that’s hosted in npm or on github is fairly easy. You can “npm install” or just update your package.json file with the github location and be done. But what about developing locally? How do you get your code from a module that you are building, into a project that needs it, without […]
A lot of people think that Node has built-in singleton objects with the “require” function. This is far from the truth. The require function only creates a cached module instance that can easily be broken. So, what does it take to build a true singleton in Node.js?
I work on site for a client 2 days a week, building apps for them. Recently, my team moved in to a different building that has different policies for connectivity and allowed access on the web. Unfortunately, this new policy destroyed my ability to install anything using the “git://” protocol – which includes a lot […]
I’ve looked at a number of authorization and authentication frameworks for NodeJS in the last year. While there are a number of good authentication libraries around, most of them bill themselves as authorization, as well – which is very wrong. There just aren’t very many good authorization frameworks… maybe one well rounded framework that I […]
Over the weekend, I attended and spoke at the Nodevember conference in Nashville, TN. At this conference, I spoke on the subject of destroying your IDE in favor of using smaller, light-weight, flexible and composable tooling like Grunt, Grunt-Contrib-Watch and others. I had a strongly positive amount of feedback from the session, which is always […]
In spite of all the advances that we’ve had in package management for software in the last however-many-years, managing dependencies within a project is still not a 100% solved problem. There is still, and may always be, a human element to the problem and solution. A Version Problem I spent about 5 minutes panicking as […]