Back to Home

The Hub


Created in 2017-2018 with SilverStripe - for Superu

Responsibilities

  • Frontend Dev
  • Backend Dev

Technologies

  • SilverStripe
  • JavaScript
  • Vue
  • SCSS

The Hub was originally built for Superu, but since that agency's closure it has been managed by SIA. Check it out at thehub.sia.govt.nz (opens new window).

The Hub provides a catalog of the publications of social science research funded by the New Zealand Government. It was designed to help researchers, policy-makers and funders, find and leverage relevant research.

# Key Features

  • CMS managed Catalog of NZ government funded social science research
  • Search and Display of over 6000 research publications.
  • Document storage and download
  • Citation management

# Design and Build

The hub is on the Common Web Platform. As such it uses SilverStripe CMS and Solr Search. The frontend is built with SilverStripe templating and SCSS for styling and vanilla JS for navigation and search controls.

# Citation Plugin

One of the client’s key features was to have citation files be downloadable for the listed publications. Researchers import these files into Resource Management software to keep track of their sources. Finding no existing solution to leverage - I created 'cite-this' (opens new window) a citation plugin module, published via NPM.

After analysing the file formats of the supported Reference Management software, I created an algorithm which takes the available publication data, and target file format then returns a string representation of the citation file contents.

I then created a standalone plugin, using Vue JS to handle the templating, styling and JavaScript required. The citation file is generated on demand client-side, when the user selects which format to download. The content string and filename are set dynamically on a link tag, and programmatically clicked to start the download.

This feature can be seen live on the hub's resource pages (opens new window). Or on the interactive demo (opens new window). Following the release of this feature we had requests from another client to have the citation module added to their site as well.