badcamp 2012- drupal support

34
Supporting a Drupal Over the Longterm Anne Stefanyk (@eskimoYogi) & Meghan Sweet (@meghsweet) 4 November, 2012 BADCamp 2012

Upload: meghsweet

Post on 27-May-2015

719 views

Category:

Technology


2 download

DESCRIPTION

Supporting a Drupal Site over the Longterm.

TRANSCRIPT

Page 1: BADCamp 2012- Drupal Support

Supporting a Drupal Over the Longterm

Anne Stefanyk (@eskimoYogi) & Meghan Sweet (@meghsweet)4 November, 2012

BADCamp 2012

Page 2: BADCamp 2012- Drupal Support

Site Launches!

Page 3: BADCamp 2012- Drupal Support

Now What?

Page 4: BADCamp 2012- Drupal Support

Empower Your Users

Page 5: BADCamp 2012- Drupal Support

Drupal Web Team

• Learning Drupal Takes Time

• Early & Often Team Engagement

• Train the Trainer

• Backup Expert Level Support

• Effective Documentation

Page 6: BADCamp 2012- Drupal Support

Content Manager Training• Onsite Training Sessions

• Web Team Trainers

• FAQ / Forums

• Help Videos

• Training Materials

Page 7: BADCamp 2012- Drupal Support

DocumentationDetailed logs in source codeExtensive commenting Onscreen helpTraining Videos FAQ Capture

Page 8: BADCamp 2012- Drupal Support

RecruitingSuccession Plans

Internships

Drupal Give

Stop Gap Solutions

Page 9: BADCamp 2012- Drupal Support

Support Best Practices

Page 10: BADCamp 2012- Drupal Support

Ideal Solid Foundation• UX Strategy

• Documentation

• Early Client Engagement

• QA by Web Stakeholders

• Scalable Architecture

Page 11: BADCamp 2012- Drupal Support

Communication Ticketing Tool

Expectation Management

Expect Ongoing Education

Page 12: BADCamp 2012- Drupal Support

QA Best Practices • Development, Testing & Production

• Stakeholder Sign-off by Review

• Regular Release Cycle

• Batch work

Page 13: BADCamp 2012- Drupal Support

Prevention is better than cure

Audits and Monitoring

Page 14: BADCamp 2012- Drupal Support

AuditingPeriodic Auditing is important!

Make a check-list.

Page 15: BADCamp 2012- Drupal Support

Auditing Code Base

- Hacked! module

- Custom Modules- what do they do?

- Contributed Modules- updates, errors?

- Drupal Core- update and/or upgrade?

- Comments in code

- Drupal Coding standards

- Red flags

Page 16: BADCamp 2012- Drupal Support

Auditing Development Environment

- Version Control

- Development Server Setup: Dev > Test > Prod

-What is the development workflow?

Page 17: BADCamp 2012- Drupal Support

Auditing Configuration

- Panels/Context/Display Suite, used properly?

- Live Updating? Feeds?

- Site Logs

- Permissions and Roles- PHP filter

- Spam Prevention

- Performance Optimization

-SEO Checklist Module

Page 18: BADCamp 2012- Drupal Support

Auditing Theme

- Are themes up to date?

- Base Theme used? Or Hacked?

- Custom PHP logic in tpl files?

- Javascript Libraries

- CSS structure

- Responsive- What techniques?

- Red flags- are tpl files out of control?

Page 19: BADCamp 2012- Drupal Support

Auditing Performance

- Front End-PerformanceCaching, CSS/JS aggregation, Images

- Backend PerformanceSlow custom code, out-of-date modules, caching

- Server performance

- Traffic Levels- anonymous or logged in.

Page 20: BADCamp 2012- Drupal Support

Monitoring- Most of the time in recovery is figuring out what’s broken

- Train your clients how to monitor and write good tickets

Page 21: BADCamp 2012- Drupal Support

Monitoring- Use Syslog to write Drupal logs to text file

- Cron and caching configured and on?

- Total Admin Control or create admin views

- Are your admins educated?

- Every time you have an issue- start to monitor.

-Google Analytics

Page 22: BADCamp 2012- Drupal Support

Security Review- Most security holes are created in the configuration and theme.

- Security Review module will help!

Page 23: BADCamp 2012- Drupal Support

Security Review- File system permissions- Input format- Content (nodes, comments and fields in Drupal 7)- Error reporting- Private file- Allowed upload extension- Database error - Failed logins- Drupal admin permissions- Username as password- Password included in user emails- PHP access

Page 24: BADCamp 2012- Drupal Support

Training is key.

Users need Drupal awareness!

Page 25: BADCamp 2012- Drupal Support

Detecting Problems- Spam-Mollom, Captcha, Admin Views

- Use Version Control to check diffs- revert to good version

- Hacked! Module - switch to unhacked contrib module

- Security Review Module will look for spam in content.

- Use a good hosting company

Page 26: BADCamp 2012- Drupal Support

What to do with those error messages?

Security & Module Updates

Page 27: BADCamp 2012- Drupal Support

UpdatesKeep on top of Updates- within 30 days for security updates.

Read the update notes for non-security updates.

Finding a bug in a contrib module.

Do Not Hack Core! No exceptions.

Planning for Custom Modules

Staying in tune with Advances in

Page 28: BADCamp 2012- Drupal Support

Version Upgrades

TimingCommunity Catch-up New ModulesConsider a Rebuild?TestingWhat’s the plan?

Page 29: BADCamp 2012- Drupal Support

Community Connection

Page 30: BADCamp 2012- Drupal Support

Groups.Drupal.orgInternal Knowledge SharingLocal User Group Meet-upsDrupal Camps, Cons & Summits

Page 31: BADCamp 2012- Drupal Support

Taking Over Another’s Work

Page 32: BADCamp 2012- Drupal Support

discoveryread the documentationtalk to all stakeholdersget clear line of sight to prioritiesreview the laundry list

Page 33: BADCamp 2012- Drupal Support

Key PointsContinual Love & Attention

Keep Documentation Fresh

Use good communication and feedback/QA tools

Foster Drupal Talent

Community Contribution

Page 34: BADCamp 2012- Drupal Support

Thank You!@chapter_three