Digital Assets Gem & Web Service

Overview

The Digital Assets gem library eases communication with our digital assets management database. The web service uses the gem to expose the data to other services. The goal is to write this database communication layer once and then allow easy retrieval of resources based on their identifiers in all other cases. The web service allows for resources to be returned as MODS records.

Team

Technical Details

The Digital Assets gem is written in Ruby using the Activerecord Object-relation mapping library. Besides mapping tables to objects it also wraps methods that join them into resource documents which is most often the representation wanted for indexing purposes. The web service is a Rails project which has a RESTful interface for retrieving JSON MODS. The MODS record is created on the fly by converting the JSON to XML and transforming it with XSLT.


Last updated: October 26, 2009