← All work

Digital Pattern Library

Lead developer on the University of St Andrews’ design system, the accessible, documented components behind the university’s public website. Rebuilt around students, with build times cut from 1.5 minutes to 20 seconds.

Type
Work project
Role
Lead developer, Digital Communications, University of St Andrews
Year
2015 – 2017
Status
Shipped
Built with
  • Design systems
  • HTML
  • CSS / SASS
  • JavaScript
  • Accessibility
  • WordPress
  • Documentation

The Digital Pattern Library (DPL) is the design system behind the University of St Andrews’ websites and apps. I was its lead developer in the Digital Communications team, which looks after the university’s external web presence.

The Digital pattern library home page, under the University of St Andrews header and a blue navigation bar with About, Using the pattern library, Colours, Patterns, Examples and Blog. The intro says 'the DPL is a resource to support University staff who are designing or developing new web pages and other digital outputs, and that it is version controlled using GitHub and platform agnostic'. A blue 'Explore the patterns' button sits below.
Resources for anyone at the University building a web page.

The problem

A university website serves a lot of people with very different needs: prospective students, current students, staff, researchers, and every department with its own content. Those departments need to build pages that look and behave consistently, are accessible, and fit the constraints of the CMS. At the same time, the design team needs its intent to survive contact with real content.

What I did

  • Rebuilt it around students. I evolved the DPL so its components centred on the university’s most important audience. This most often meant challenging intent among the Schools & departments— Yes, we have a fantastic library with N number of accolades, but the students are most often looking for the open hours!
  • Accessible, documented components. I built reusable components with documentation, balancing design intent with CMS constraints, and they were adopted across departments.
  • Faster builds. I cut the library’s build time from about 1.5 minutes to about 20 seconds, so iterating on components stopped being a chore.
  • University External Website My team built and managed the website you see when you first arrive at the University of St Andrews.
  • Running a platform. I also managed a WordPress multisite of 180+ sites.
The 'Core' section of the pattern library, described as patterns for building a basic University of St Andrews webpage. A grid of nine tiles, each with a simple grey illustration above a blue label: Header, Category header, Breadcrumbs, Content whole, Content halves, Content thirds, Heading with section, Typefaces and Typography.
Everything you need to build a University page.

How we worked

The team ran a mature agile (DSDM) process with designers and communications stakeholders, and I mentored junior developers.

I have never before or since worked on a team that ran so well as this one. It wasn’t perfect, but we had a SCRUM Master who properly understood and practised Agile— the wonderful Gareth Saunders. And having the right balance of Work-in-progress and things to do, all balanced against the time you actually had available, is priceless. I’ve had to jealously guard my own time everywhere else I’ve worked in order to be able to get into the vaulted ‘flow state’, and getting it baked into the way the team worked was great.

The documentation page for the 'Navbox with image and paragraph' pattern. A live example shows a grey 750 by 500 image placeholder above a blue 'Study' link bar and a paragraph of placeholder text. Below it, a code panel shows the pattern's HTML, with 'Copy code' and 'Expand code' buttons.
Every pattern is documented, with a live example and code to copy.

Why it matters now

This is where I learned deeply about design systems, getting to build and use one to bring the Universities disparate sites and schools together. There were developers, designers and content editors across the University who build with it. The foundations I learned here have shaped everything since, including the LiveOps platform at Outplay.

Let’s talk

Thanks for coming to my little corner of the internet. If you wanna chat, here's how to connect.


I'd especially love to hear about any text-based proc gen you might be doing.