XML Parsing in JavaScript With xml2js

Most web APIs these days are JSON APIs. JSON is fantastic, and very easy to work with. However older web APIs still use XML, and that can be a problem when you’re a JavaScript developer. Using the xml2js package, we can convert an XML string to a JavaScript object – making our lives much easier as JavaScript developers.

Firebase Is Not Production-Ready; So Don’t Use It

I’m constantly drooling over new technology. That’s what we do as technologists. And when I hear about a new product, I’ll usually give it a shot. I heard about Firebase from a co-worker about a year and a half ago. He described it as a real-time database, which I had never heard of before. He said that instead of polling an API to request new data, you could instead connect straight to the database via a Socket.io-like connection and have your web app update in real time. This sounded amazing. I haven’t worked on very many apps that required constant updating, but the idea alone was enough to convince me to try it.

Scaling a Node.js API With Google App Engine

A few months ago I was faced with an issue I’ve never had to deal with. A Node API that I built needed to scale from 10,000 requests per month to 130 million requests per month. Before it was just a layer on top of our legacy PHP code to serve 3rd parties, but then we migrated all of the functionality from PHP into the Node API. Hence the huge change.

Installing a Specific Version of Node

I’m working on an API written in Node.js v6.4.0. When trying to deploy it to my Ubuntu 16.04 server, however, I’m running into a compatibility problem. See, when I setup my server, I installed the latest version of Node (currently v6.6.0), which means that the Node version is different on my server than it is on my MacBook.