Archive for November, 2011

30Nov

I’m an idiot. Ignore “Switchboard”

Posted by Elf Sternberg as Uncategorized

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 […]

28Nov

I should stop reading magazines.

Posted by Elf Sternberg as chat, css, Design, javascript

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 […]

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 […]


Subscribe to Feed

Categories

Calendar

November 2011
M T W T F S S
« Oct   Dec »
 123456
78910111213
14151617181920
21222324252627
282930