Development

  • Adding a state machine to a Rails application

    We recently implemented a state machine in the Content Publisher. While this isn't a change many people will notice, it does lay the foundation for further improvements which we hope will benefit our users. This work also contributed to my ongoing...

  • The neverstarting story

    Do you ever have a piece of work that never quite makes it to the top of the to-do list? Something that needs doing but is not really crucial enough to be prioritised that highly. It lingers in the background,...

  • Progressive enhancement and team memberships

    We recently shipped some changes to how we order team members in our Team Profile content type. These improvements came in several stages, each building on the last, so this seemed like a good opportunity to talk about progressive enhancement. What...

  • Making a Slackbot for editorial guidance

    In the Digital build team, we have two hours every Wednesday to work on our own personal development. I recently spent a few of these sessions making my own Slackbot. A slack-what? Slack is a messaging application designed for work teams. We've used it...

  • What I've learned in my first few weeks as a developer

    A little over two weeks ago, I started a new job in the Digital team as a Junior Developer. While this job is new to me, the team isn't – I first joined in January 2014 as a Content Producer....

  • Visual regression testing

    Our new site consists of 15 different layout templates. Each one of these is further broken down into numerous different design patterns for consistently displaying content. The rules that govern the presentation of these patterns (or elements, if you are...

  • Get told immediately when your tests pass or fail with Guard and terminal-notifier-guard

    Got your feedback loop between writing code and executing tests down to the shortest time possible? Of course you have. After all, you know your tried-and-tested shortcut keys. But there may be something better than your years-old habit. Just run...

  • Launching Worldwide

    We have recently launched Worldwide on bath.ac.uk. It is a new central hub to curate international content across the website and will focus on a specific country or region. This is to support the implementation of the University’s International Strategy. For...

  • What tech we use to test our CMS: Minitest and Capybara

    The road less travelled For the Editor side of our new CMS, we have made a couple of choices in testing that are a little bit off the beaten track. For starters we are using Minitest instead of RSpec. Most...

  • How we implemented file uploading in our CMS

    The setup We have built into our CMS the ability to attach files to our Publication content type. Here I'll go cover the steps and hurdles we went through in implementing this very common feature. On our first pass we took...