In February, I launched the first of my WatchMeCode: Live! sessions on Docker. This is a series where I do a live webinar-style session of talking about code, providing commentary and getting live Q&A from the audience at the end. For March 2017, I’m preparing another session on the ever-so-frustrating npm delay in Docker. What […]
Docker + Node.js is a beautiful combination. But among all of the advantages of using these tools together, there are some mild frustrations… things that just don’t quite fit nicely. Take the npm Wall of Red Text, for example. It seems every time I run ‘npm install’ inside of my docker container, I nearly have […]
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 […]