DjangoCon 2015 notes

Here is a quick set of notes from my recent trip to DangoCon Europe 2015.


Coding talk

There was a bit of discussion about best place to put your app’s business logic – either in the django-recommended model manager or in a service layer component

Either way never write to a model field or call save() directly in a view – a good blog post on why:

git-crypt might be worth a look if you ever want

read on
Posted at 10am on 09/06/15 | No Comments » | Filed Under: Uncategorized

Tackling performance problems in Django

Launching a product is fantastic fun, but the work doesn’t end there. Once you start to build up a considerable amount of content and gain more users interacting with your system you will need to be on the lookout for areas of poor performance. In this blog post I will explain some of the code-level tools and techniques we use to identify & improve the performance of BOS.

read on
Posted at 6pm on 22/12/14 | No Comments » | Filed Under: development, django, performance, python, unittesting

BOS2 code growth

Here is a quick chart to show the growth of the BOS2 code repository since development started. As of June 11th 2014 we’re standing at just over 180k lines of code with over half that amount being taken up with test code alone!

read on
Posted at 9pm on 10/06/14 | Comments Off on BOS2 code growth | Filed Under: django, javascript, python, unittesting, visualisations

The dark side of homogeneity

Let me start by saying I’m a big fan of Docker, but a conversation I was having with another developer who was advocating the benefits of unified development environments started me thinking if they are always such a good idea.

read on
Posted at 8am on 10/05/14 | No Comments » | Filed Under: continuous integration, development, django

Experiences moving to Linux on my Laptop

Over the last 8 years or so at work I’ve been slowly been making the switch to a world based completely on open source or free-to-use software (such as Eclipse, Google Apps, Evernote, LibreOffice etc). What kicked this off was a change of programming language in my day job allowed me to shift the majority of my desktop apps away from proprietary providers (e.g. MSN -> Pidgin, Visual Studio -> Eclipse, MS Office -> LibreOffice,

read on
Posted at 9am on 21/03/14 | Comments Off on Experiences moving to Linux on my Laptop | Filed Under: Uncategorized