la drupal camp 2012- maintaining a drupal site

30
Maintaining a Drupal Over the Longterm Meghan Sweet (@meghsweet) 29 June, 2012 LA Drupal Camp 2012

Upload: meghsweet

Post on 25-May-2015

2.415 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: LA Drupal Camp 2012- Maintaining a Drupal Site

Maintaining a Drupal Over the Longterm

Meghan Sweet (@meghsweet)

29 June, 2012

LA Drupal Camp 2012

Page 2: LA Drupal Camp 2012- Maintaining a Drupal Site

Site Launches!

Page 3: LA Drupal Camp 2012- Maintaining a Drupal Site

Now What?

Page 4: LA Drupal Camp 2012- Maintaining a Drupal Site

Empower Your Users

Page 5: LA Drupal Camp 2012- Maintaining a Drupal Site

Drupal Web Team Training

• Learning Drupal Takes Time

• Train the Trainer

• Backup Expert Level Support

• Effective Documentation

Page 6: LA Drupal Camp 2012- Maintaining a Drupal Site

Content Manager Training

• Onsite Training Sessions

• Help Videos

• FAQ / Forums

• Training Materials

Page 7: LA Drupal Camp 2012- Maintaining a Drupal Site

DocumentationExtensive commenting Onscreen helpTraining Videos FAQ Capture

Page 8: LA Drupal Camp 2012- Maintaining a Drupal Site

Support Best Practices

Page 9: LA Drupal Camp 2012- Maintaining a Drupal Site

Communication Ticketing Tool

Expectation Management

Expect Ongoing Education

Page 10: LA Drupal Camp 2012- Maintaining a Drupal Site

QA Best Practices

• Development, Testing & Production

• Stakeholder Sign-off by Review

• Regular Release Cycle

• Batch work

Page 11: LA Drupal Camp 2012- Maintaining a Drupal Site

Prevention is better than cure

Audits and Monitoring

Page 12: LA Drupal Camp 2012- Maintaining a Drupal Site

AuditingPeriodic Auditing is important!

Make a check-list.

Page 13: LA Drupal Camp 2012- Maintaining a Drupal Site

Auditing Code Base

- Version Control

- Development Server Setup: Dev > Test > Prod

- Hacks- Hacked! module

- Custom Modules- what do they do?

- Contributed Modules- updates, errors?

- Drupal Core- update and/or upgrade?

Page 14: LA Drupal Camp 2012- Maintaining a Drupal Site

Auditing Configuration

- Panels/Context/Display Suite, used properly?

- Live Updating? Feeds?

- Site Logs

- Permissions and Roles- PHP filter

- Spam Prevention

- Performance Optimization

- SEO: SEO Checklist Module

Page 15: LA Drupal Camp 2012- Maintaining a Drupal Site

Auditing Theme

- Are themes up to date?

- Base Theme used? Or Hacked?

- Custom PHP logic in tpl files?

- Libraries and CSS structure

- Responsive- What techniques?

- Red flags- are tpl files out of control?

Page 16: LA Drupal Camp 2012- Maintaining a Drupal Site

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

- Monitor Trends

Page 17: LA Drupal Camp 2012- Maintaining a Drupal Site

Monitoring- Use Syslog to write Drupal logs to text file

- Monitor Servers, SEO

- Cron

-Total Admin Control or create admin views

- Drupalmonitor.com

- Are your admins educated?

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

-Google Analytics

Page 18: LA Drupal Camp 2012- Maintaining a Drupal Site

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

- Security Review module will help!

Page 19: LA Drupal Camp 2012- Maintaining a Drupal Site

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 20: LA Drupal Camp 2012- Maintaining a Drupal Site

Training is key.

Users need Drupal awareness!

Page 21: LA Drupal Camp 2012- Maintaining a Drupal Site

Detecting Problems- Spam- number of nodes, emails being sent, comments, users. (Good to know trends) 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 22: LA Drupal Camp 2012- Maintaining a Drupal Site

What to do with those error messages?

Security & Module Updates

Page 23: LA Drupal Camp 2012- Maintaining a Drupal Site

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 Community Modules

Page 24: LA Drupal Camp 2012- Maintaining a Drupal Site

Version Upgrades

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

Page 25: LA Drupal Camp 2012- Maintaining a Drupal Site

Community Connection

Page 26: LA Drupal Camp 2012- Maintaining a Drupal Site

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

Page 27: LA Drupal Camp 2012- Maintaining a Drupal Site

Taking Over Another’s Work

Page 28: LA Drupal Camp 2012- Maintaining a Drupal Site

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

Page 29: LA Drupal Camp 2012- Maintaining a Drupal Site

Key PointsContinual Love & Attention

Keep Documentation Fresh

Use good communication and feedback/QA tools

Foster Drupal Talent

Community Contribution

Page 30: LA Drupal Camp 2012- Maintaining a Drupal Site

Thank You!@meghsweet

@chapter_three