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 ID: 581337
Download Presentation The PPT/PDF document "OSU Profile" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
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.Slide2
A Distributed Campus Directory
Data entry can happen at any level.Data can be viewed anywhere.Slide3
An Extensible Data ModelSlide4
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.Slide5
Distributing the data using RESTSlide6
Historical Use of People Profile
Variations of “People Profiles” widely used since OSU started with Drupal 5Different developers often built their own versionsCWSWebCommSite administratorsDifferent functionality was provided in different variationsSlide7
Sample – Marine Mammal Institute
Show peopled grouped by which
lab
the people belong to
.Slide8
Sample – College of Business
Table 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 contextuallySlide9
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.Slide10
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.Slide11
Problems with the Old Way
No authoritative data source usedNo way to swap data between sitesNo version controlConstant rebuildingContinual need for re-themingSo much manual entry and maintenance!Slide12
Benefits of the New Way
Pulls updated data from an authoritative source (LDAP)Extensible!Version controlManual entry greatly reduced, which also reduces data entry variationsStandardized and trainableSlide13
profile2 module
Provides any number of profiles to each userEntities, not nodesFields w/ display settings (CCK)API & Hooks for Profile CRUDAllows for changes / updateshttps://drupal.org/project/profile2Slide14
Module(s) structure
Main moduleDefines requirements (.info)Provides helper functionsCommunicates with LDAP Profile modulesDefines dependencies (To main module, parent profiles)
Defines fields and groups specific to itself
Installs profile type
Locations / Departments separateSlide15
User creation
Use a single primary profile by affiliationProfile inheritance“Query LDAP” adds all users by departmentUser creation (@todo)