Transcript
Page 1: Drupal: Mitigating Risk with Multiple Content Creators

Drupal: Mitigating Risk with Multiple Content Contributors

Page 2: Drupal: Mitigating Risk with Multiple Content Creators

Who is iFactory?•Based in Boston•Interactive design and development company with over 20

years experience•A division of RDW Group, a full-service agency•Designers, strategic consultants, information architects,

usability experts, developers•Higher ed profiles include:

colleges & universities | public & private

large & small | ivy league to community colleges

undergraduate & graduate | Massachusetts to California

Page 3: Drupal: Mitigating Risk with Multiple Content Creators

Where to find uswww.ifactory.com

blog: interactivity.ifactory.com

Find us as iFactoryBoston:

Page 4: Drupal: Mitigating Risk with Multiple Content Creators

What you’ll learn today:

• Configuring some aspects of the Drupal admin to enable a wide variety of users to create content

• Using Drupal's SimpleTest module to verify functionality of custom modules

• Writing and running Selenium tests to challenge your site's functionality

Page 5: Drupal: Mitigating Risk with Multiple Content Creators

Your presenter

Lisa Sawin Solutions Architect for iFactory

Page 6: Drupal: Mitigating Risk with Multiple Content Creators

Higher Ed Websites

• Often have a variety of content creators• Content is often added without being

screened• Important for content to remain up-to-date• Give content creators confidence &

freedom• Give administrators tools to ensure site’s

health

Page 7: Drupal: Mitigating Risk with Multiple Content Creators

Higher Ed Websites

• Often have a variety of content creators• Content is often added without being

screened• Important for content to remain up-to-date• Give content creators confidence &

freedom• Give administrators tools to ensure site’s

health

Page 8: Drupal: Mitigating Risk with Multiple Content Creators

Higher Ed Websites

• Often have a variety of content creators• Content is often added without being

screened• Important for content to remain up-to-date• Give content creators confidence &

freedom• Give administrators tools to ensure site’s

health

Page 9: Drupal: Mitigating Risk with Multiple Content Creators

Higher Ed Websites

• Often have a variety of content creators• Content is often added without being

screened• Important for content to remain up-to-date• Give content creators confidence &

freedom• Give administrators tools to ensure site’s

health

Page 10: Drupal: Mitigating Risk with Multiple Content Creators

Higher Ed Websites

• Often have a variety of content creators• Content is often added without being

screened• Important for content to remain up-to-date• Give content creators confidence &

freedom• Give administrators tools to ensure site’s

health

Page 11: Drupal: Mitigating Risk with Multiple Content Creators

Drupal Strengths & Weaknesses• Admin users have a lot of power• Admin user interface can be overwhelming• Many contributed modules available to

help• Extensible by custom modules, too

Page 12: Drupal: Mitigating Risk with Multiple Content Creators

Drupal Strengths & Weaknesses• Admin users have a lot of power• Admin user interface can be overwhelming• Many contributed modules available to

help• Extensible by custom modules, too

Page 13: Drupal: Mitigating Risk with Multiple Content Creators

Drupal Strengths & Weaknesses• Admin users have a lot of power• Admin user interface can be overwhelming• Many contributed modules available to help• Extensible by custom modules, too

Page 14: Drupal: Mitigating Risk with Multiple Content Creators

Drupal Strengths & Weaknesses• Admin users have a lot of power• Admin user interface can be overwhelming• Many contributed modules available to help• Extensible by custom modules, too

Page 15: Drupal: Mitigating Risk with Multiple Content Creators

Customizing Admin Features • Constrained page layouts increase

freedom while maintaining unified look & feel

• Only give content creators the tools you’d like them to use

• Image styles constrain images to fit layout• Use combination of contrib and custom

modules to constrain WYSIWYG tools

Page 16: Drupal: Mitigating Risk with Multiple Content Creators
Page 17: Drupal: Mitigating Risk with Multiple Content Creators

Customizing Admin Features • Constrained page layouts increase

freedom while maintaining unified look & feel

• Only give content creators the tools you’d like them to use

• Image styles constrain images to fit layout• Use combination of contrib and custom

modules to constrain WYSIWYG tools

Page 18: Drupal: Mitigating Risk with Multiple Content Creators

Customizing Admin Features • Constrained page layouts increase

freedom while maintaining unified look & feel

• Only give content creators the tools you’d like them to use

• Image styles constrain images to fit layout• Use combination of contrib and custom

modules to constrain WYSIWYG tools

Page 19: Drupal: Mitigating Risk with Multiple Content Creators

Customizing Admin Features • Constrained page layouts increase

freedom while maintaining unified look & feel

• Only give content creators the tools you’d like them to use

• Image styles constrain images to fit layout• Use combination of contrib and custom

modules to constrain WYSIWYG tools

Page 20: Drupal: Mitigating Risk with Multiple Content Creators
Page 21: Drupal: Mitigating Risk with Multiple Content Creators
Page 22: Drupal: Mitigating Risk with Multiple Content Creators
Page 23: Drupal: Mitigating Risk with Multiple Content Creators

CKEditor + Better Formats + custom module• CKEditor gives us control over

WYSIWYG options per text format• Better formats can restrict a user’s

ability to change text format• A custom module adds the missing

puzzle piece to restrict WYSIWYG options

• http://drupal.org/node/1192062

Page 24: Drupal: Mitigating Risk with Multiple Content Creators
Page 25: Drupal: Mitigating Risk with Multiple Content Creators
Page 26: Drupal: Mitigating Risk with Multiple Content Creators

CKEditor + Better Formats + custom module• CKEditor gives us control over

WYSIWYG options per text format• Better formats can restrict a user’s ability

to change text format• A custom module adds the missing puzzle

piece to restrict WYSIWYG options• http://drupal.org/node/1192062

Page 27: Drupal: Mitigating Risk with Multiple Content Creators
Page 28: Drupal: Mitigating Risk with Multiple Content Creators

CKEditor + Better Formats + custom module• CKEditor gives us control over

WYSIWYG options per text format• Better formats can restrict a user’s ability

to change text format• A custom module adds the missing puzzle

piece to restrict WYSIWYG options• http://drupal.org/node/1192062

Page 29: Drupal: Mitigating Risk with Multiple Content Creators

CKEditor + Better Formats + custom module• CKEditor gives us control over

WYSIWYG options per text format• Better formats can restrict a user’s ability

to change text format• A custom module adds the missing puzzle

piece to restrict WYSIWYG options• http://drupal.org/node/1192062

Page 30: Drupal: Mitigating Risk with Multiple Content Creators
Page 31: Drupal: Mitigating Risk with Multiple Content Creators
Page 32: Drupal: Mitigating Risk with Multiple Content Creators
Page 33: Drupal: Mitigating Risk with Multiple Content Creators

SimpleTest

• Always write tests for any custom modules• Tests allow you to document your

expectations about the module’s behavior• Can expose incompatibility with future core

& contrib module updates

Page 34: Drupal: Mitigating Risk with Multiple Content Creators

SimpleTest

• Always write tests for any custom modules• Tests allow you to document your

expectations about the module’s behavior• Can expose incompatibility with future core

& contrib module updates

Page 35: Drupal: Mitigating Risk with Multiple Content Creators

SimpleTest

• Always write tests for any custom modules• Tests allow you to document your

expectations about the module’s behavior• Can expose incompatibility with future core

& contrib module updates

Page 36: Drupal: Mitigating Risk with Multiple Content Creators
Page 37: Drupal: Mitigating Risk with Multiple Content Creators
Page 38: Drupal: Mitigating Risk with Multiple Content Creators

Selenium Tests

• Testing framework which mimics a person using your site

• Can be used to test many aspects of your site

• Great for running through basic functionality and making sure nothing is broken

• Firefox has a terrific Selenium IDE for writing and running tests

Page 39: Drupal: Mitigating Risk with Multiple Content Creators

Selenium Tests

• Testing framework which mimics a person using your site

• Can be used to test many aspects of your site

• Great for running through basic functionality and making sure nothing is broken

• Firefox has a terrific Selenium IDE for writing and running tests

Page 40: Drupal: Mitigating Risk with Multiple Content Creators

Selenium Tests

• Testing framework which mimics a person using your site

• Can be used to test many aspects of your site

• Great for running through basic functionality and making sure nothing is broken

• Firefox has a terrific Selenium IDE for writing and running tests

Page 41: Drupal: Mitigating Risk with Multiple Content Creators

Selenium Tests

• Testing framework which mimics a person using your site

• Can be used to test many aspects of your site

• Great for running through basic functionality and making sure nothing is broken

• Firefox has a terrific Selenium IDE for writing and running tests

Page 42: Drupal: Mitigating Risk with Multiple Content Creators
Page 43: Drupal: Mitigating Risk with Multiple Content Creators

Mitigate Risk, Increase Freedom• Remove the option to “break” the site• Encourage content creators by giving them

an easy-to-use interface• Reassure administrators with tools to

monitor the site’s health

Page 44: Drupal: Mitigating Risk with Multiple Content Creators

Mitigate Risk, Increase Freedom• Remove the option to “break” the site• Encourage content creators by giving them

an easy-to-use interface• Reassure administrators with tools to

monitor the site’s health

Page 45: Drupal: Mitigating Risk with Multiple Content Creators

Mitigate Risk, Increase Freedom• Remove the option to “break” the site• Encourage content creators by giving them

an easy-to-use interface• Reassure administrators with tools to

monitor the site’s health

Page 46: Drupal: Mitigating Risk with Multiple Content Creators

www.ifactory.com

interactivity.ifactory.com

[email protected]

617.426.8600

Find us as iFactoryBoston: