Skip to content

Pair Session: PCDM Modeling

Thomas Johnson edited this page May 9, 2017 · 8 revisions

Preliminaries

  1. Hydra Works
    1. Model Diagram
    2. Example Use Case
  2. Fedora Versions
    1. Currently (4.7.2)
    2. Memento (API Spec)
  3. Ruby RDF
    1. RDF Concepts: Data Model
    2. Object Model
    3. RubyDoc

Setup

git checkout day2/pcdm/start
bundle exec rspec

Step 1: Create a New Work Type for Cover

Hint:

bundle exec rails generate hyrax:work MusicalWork/Cover

What do you need to test?

Step 2: Add Fields

  • Creator
  • Subject
  • Description

Step 3: Make a Presenter & Wire it Up

Hint:

Step 4: Start a Server!