Using Codeship with Go and Glide

Codeship is a fantastic tool to assist in all your continuous integration/deployment needs. Go support is provided out of the box however does not use aspects such as censored dependencies out the box. This post will provide you with an example of how to build your Go package on…

Read this article

Block Rendering in Flask - Server Side Rendering via AJAX

Edit (28/01/15): I had some issues with the context not being updated upon login and logout. Turns out it was the params that were being passed to our render_template method. Rather than a dict, we needed to change it to use **. Edit: I made an improvement to…

Read this article

Factories for Peewee ORM

I have recently released a new Python package, factory_boy-peewee. The package allows you to use factory_boy factories with the peewee ORM. Here are a few example factories: from factory_peewee import PeeweeModelFactory from . import app class StandardFactory(PeeweeModelFactory): class Meta: model = app.StandardModel database = app.database id = factory…

Read this article

How I Work: Part III - Flight Applications

As stated in an earlier post of this series, I have been using Flight for new applications. When I first started to use Flight I wrote a post to explain what it is and how to structure applications. Since then my knowledge of flight has changed considerably and I no…

Read this article

How I Work: Part II - Tools/Packages

A few weeks ago I posted the first article on a series of How I Work. It covered a number of design principles that I implement to assist me in creating the best work I can. This post covers the next area of How I Work, in perticular the tools…

Read this article

How I Work: Part I - Design Principles

This article is the first in a series that describes how I work. The series will explain best practices, design principles, tools/packages and anything else that is crucial to how I get things done. A lot of this may not be new to you, but I hope that it…

Read this article