All articles tagged Development

Thumbnail image for What is SPDY?

What is SPDY?

This is HTTP A big friendly unsecured clear-text, line-oriented bear. This is SPDY A multi-plexed binary TLS-wrapped protocol from the future. SPDY (pronounced speedy) is a replacement for HTTP, and feels like a wrapper for it. SPDY is a packet …
Thumbnail image for Referrer Blocking is Hard

Referrer Blocking is Hard

One of my recent tasks in Ginger was to ensure that we weren’t leaking referrer URLs when you click on an external link in Ginger. It seemed like an easy task and one that’s probably been solved before. What I …
Thumbnail image for Backbone.js for Django Developers

Backbone.js for Django Developers

Our new product Ginger relies heavily on Backbone.js for most of the client-side functionality (you can read about our full web-stack here). Our JavaScript guru Marco built the initial prototype and then was pulled away by client work. I reluctantly …
Thumbnail image for Four Libs Good, Two Libs Better

Four Libs Good, Two Libs Better

[with apologies to Mr. Orwell] I’ve noticed a subtle shift in how we approach building up new sites over the last couple of years. Our approach to site construction used to favor collecting open source apps and gluing them together …
Thumbnail image for Why Regular Demos are Part of Our Development Process

Why Regular Demos are Part of Our Development Process

Our team functions in different capacities for each business engagement, but we typically have a project or few where we’re exclusively building a large site for a client. In those scenarios we tend to use a loosely defined two-week development …
Thumbnail image for On Fixtures and Factories

On Fixtures and Factories

We’ve made it a general rule to move away from relying on fixtures in our projects. The main reasons are: Fixtures are fragile. They often break when the schema changes or even worse they appear to work but introduce subtle …
Thumbnail image for Ginger Tech Stack

Ginger Tech Stack

For our latest product, Ginger, we wanted to marry the real-time functionality we needed with the traditional Django stack we know and love. After some false starts and falling on our faces in the beginning, we ended with a stack …
Thumbnail image for Quick Django Class Based View Decorator

Quick Django Class Based View Decorator

The recommended way to add decorators such as login_required to class based views in Django is a bit verbose. Here’s a little metaclass-producing function you may find handy: def DecoratedDispatchMethod(actual_decorator): """ If you want to decorate the Class-based View with, …
Thumbnail image for Django Caching in the Real World: Part 1

Django Caching in the Real World: Part 1

When you develop a sizable content heavy web site you quickly learn, hopefully not the hard way, that caching is a very important piece of your infrastructure. The database servers are the typical bottleneck in high volume website. Common wisdom …