Done, and gets things smart.
The other day, I posted a chunk of code called Switchboard, which was all about using Nodejitsu’s node-http-proxy. I turns out there’s a much easier way. HttpProxy.createServer will create an empty routing proxy, and when you ask for a backend handler that isn’t present, node-http-proxy will automagically build one using internal defaults. So, really, your [...]
I have to say that I’m really disappointed with .net magazine this month. .Net is a popular magazine for web designer and developers, and frequently has great articles and tutorials. For someone in my class of developer it’s not always that useful, but there’s always one or two tutorials worth perusing– and reading the tutorials [...]
23Nov
Posted by Elf Sternberg as Uncategorized
tl;dr version: We recently replaced our Nginx with an HTTP reverse proxy written entirely in Node.js. We leveraged Nodejitsu’s node-http-proxy, and added our own logic to provide a useful switchboard for several small HTTP servers, each of which “does one thing well,” in the Coffeescript programming language. There are three scenarios where a reverse proxy [...]
It’s no secret that I’m a Backbone.js fan, along with everything else. One of my other preferences is for Backbone-Relational, a nifty hack on top of Backbone that allows you to create, manage, and maintain simple relationships between objects. If you have a CouchDB or other JSON-oriented database, and you want to manipulate a record [...]