Drupal 7 for Government Case Study: Presentation at DrupalCamp Montreal 2012

Preview:

DESCRIPTION

BuyAndSell.gc.ca is the Government of Canada's procurement information portal. It includes information for businesses and government employees about doing business with government departments. In 2012, we undertook a project to upgrade the site to Drupal 7. The site has yet to be publicly launched. This case study will include topics such as Migrating content from Drupal 6 to Drupal 7 Using entities to model data Customing Search API Setting up a testing framework Using base themes, Features, and distributions

Citation preview

DRUPAL 7 FOR GOVERNMENT: CASE STUDY

Alex DergachevCo-founder @evolvingweb

Business Problem:• Apply the new government look and feel• Add open data features (search!)• Make the site more accessible (WCAG)

Before / After

Who is the Site For?

• Businesses who want to do business with the government

• Government employees who need to buy goods + services

What did we Do?• Upgrade the site to Drupal 7• Migrate the content from D6 to D7• Set up custom entities to store contract data• Search API customizations• Set up a testing framework• Extended the government base theme

Site Upgrade• Reduced the number of modules in use• Content migration (meta tags, taxonomy,

special fields)• Testing suite to find any content change in the

site upgrade

Testing Framework

Google Refine Jenkins

&

SearchIntegration of Search API with custom entity types

Custom Offer Entity

Custom Contract Entity

Custom Import Script• Import contract data from CSV into custom

entity types• Re-index of site for search

Events Calendar

Responsive Design

Common Look + Feel

Accessibility Requirements• WCAG Compliance• Colour contrast• Keyboard control of drop down menus/

slideshow• Adjustments to calendar HTML

Light Editor

Moderation• Used the Workbench module for content

moderation

Development Environment• Jenkins to run testing suite• Separate environment to run multisite search• ApacheSolr

Modules We Used• Features• Panels• Context• Custom Breadcrumbs• Calendar/Date• i18n• Apache Solr• Entity API

QUESTIONS?

Alex Dergachev@dergachev or @evolvingweb on Twitter