Random musings

    Is it best to render my templates on the server or the client?

    2015-03-30 22:00:00 +0000

    A question that I sometimes get asked is “Should I render my templates on the client or the server?”. The trick answer is “Both”.

    The best thing I’ve done in the past year is to make some code that would render my templates on the server in exactly the same way that they would be rendered if they happened to be on the client as well. Why is this? Well firstly - the most important thing for any application is …
    read more

    Writing Gherkin on an existing application

    2015-03-29 20:00:00 +0000

    We’ve been supporting our codebase for many years, but we are starting to look into describing our core site tests as a load of Gherkin features. This is the first step as we move to a more highly automated testing process.

    Now - what is Gherkin? It’s a way of describing what your application does in a way that anyone from the business can understand. The way the language has been designed it stands as a template that can be understood by testing frameworks.
    read more

    About breaking the chain

    2015-03-28 22:00:00 +0000

    So yesterday I failed to write a blog post.

    I’ve been trying to write a blog post. A habit I wanted to fulfil so much I even wrote a post in advance on to post on my wedding anniversary.

    So how come I broke the chain yesterday?
    read more

    Nice SQL pattern for when fixing data

    2015-03-26 20:00:00 +0000

    I came up with a nice straightforward pattern recently to help fix data after a lengthy database refactor.
    read more

    Tomcat/Solr search stopped working for seemingly no reason

    2015-03-25 22:00:00 +0000

    Our solr search decided to stop working.

    It was unusual as it had been working, and there was no known changes in the application to make it stop.
    read more