All articles tagged Development

Thumbnail image for Four Libs Good, Two Libs Better

Four Libs Good, Two Libs Better

<p>[with apologies to Mr. Orwell]</p><p>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 …</p>
Thumbnail image for On Fixtures and Factories

On Fixtures and Factories

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

Ginger Tech Stack

<p>For our latest product,</p><p>Ginger</p><p>, 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 …</p>
Thumbnail image for Quick Django Class Based View Decorator

Quick Django Class Based View Decorator

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

Django Caching in the Real World: Part 1

<p>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.</p><p>Common wisdom …</p>
Thumbnail image for Load Testing with JMeter: Part 1 - Getting Started

Load Testing with JMeter: Part 1 - Getting Started

<p>Part 1</p><p>| “Part 2”/blog/2011/oct/12/load-testing-jmeter-part-2-headless-testing-and-je/ |</p><p>Part 3</p><p>Last week, Yann Malet and I gave a talk at DjangoCon about</p><p>using performance analysis to spot bottlenecks</p><p>in your application. Because of the somewhat broad scope of the talk, we were …</p>