Top Banner
OSU Profile A Drupal Module to provide every site an easy way to manage a directory of their people, and provide a way to include whatever data they want. Uniform and Extensible. Data is pulled from institutional data sources. Minimal hand entry. Data can be shared between sites and aggregated for the main campus directory.
15

OSU Profile

Mar 23, 2016

Download

Documents

prince samuel

A Drupal Module to provide every site an easy way to manage a directory of their people, and provide a way to include whatever data they want. Uniform and Extensible. Data is pulled from institutional data sources. Minimal hand entry. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: OSU Profile

OSU Profile

• A Drupal Module to provide every site an easy way to manage a directory of their people, and provide a way to include whatever data they want.

• Uniform and Extensible.

• Data is pulled from institutional data sources.

• Minimal hand entry.

• Data can be shared between sites and aggregated for the main campus directory.

Page 2: OSU Profile

A Distributed Campus Directory

Data entry can happen at any level.Data can be viewed anywhere.

Page 3: OSU Profile

An Extensible Data Model

Page 4: OSU Profile

Data comes from authoritative source whenever possible

Things like Locations,Departments, andPositions are linkedentities.

Profiles provide data to other services like the campus or department directories.

Page 5: OSU Profile

Distributing the data using REST

Page 6: OSU Profile

Historical Use of People Profile

• Variations of “People Profiles” widely used since OSU started with Drupal 5

• Different developers often built their own versions– CWS– WebComm– Site administrators

• Different functionality was provided in different variations

Page 7: OSU Profile

Sample – Marine Mammal Institute

Show peopled grouped by which lab the people belong to.

Page 8: OSU Profile

Sample – College of BusinessTable of Contents worked in via the theme

The College of Business took their publications a step further, though. They’ve integrated a third-party bibliography service with their Drupal site.

COB also displays publications contextually

Page 9: OSU Profile

Sample – College of Public Health

College of Public Health also provides publications, but they’re filtered and displayed differently

The College of Public Health’s site provides a dynamic, filterable directory.

Filter based on various criteria, then click on the appropriate person’s name to open their profile.

Page 10: OSU Profile

Sample – School of Writing, Lit, & Film

WLF’s directory uses the same view as College of Public Health’s, with an override on the grouping.

WLF doesn’t display publications, instead they wanted to tie courses to their people profiles

Content that was originally static was re-architected to be dynamic for the WLF mobile app.

Page 11: OSU Profile

Problems with the Old Way

• No authoritative data source used• No way to swap data between sites• No version control• Constant rebuilding• Continual need for re-theming• So much manual entry and maintenance!

Page 12: OSU Profile

Benefits of the New Way

• Pulls updated data from an authoritative source (LDAP)

• Extensible!• Version control• Manual entry greatly reduced, which also

reduces data entry variations• Standardized and trainable

Page 13: OSU Profile

profile2 module

• Provides any number of profiles to each user• Entities, not nodes– Fields w/ display settings (CCK)

• API & Hooks for Profile CRUD• Allows for changes / updates

https://drupal.org/project/profile2

Page 14: OSU Profile

Module(s) structure

• Main module• Defines requirements (.info)• Provides helper functions• Communicates with LDAP

• Profile modules• Defines dependencies (To main

module, parent profiles)• Defines fields and groups specific

to itself• Installs profile type

• Locations / Departments separate

Page 15: OSU Profile

User creation

• Use a single primary profile by affiliation

• Profile inheritance

• “Query LDAP” adds all users by department

• User creation (@todo)