drupal problem-solving techniques

Post on 17-Oct-2014

1.387 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

http://www.nyccamp.org/problem-solving-drupal-sites

TRANSCRIPT

Is it true that my slide template is

best?

Monday, July 15, 13

Co-founder / CTO

Drupal Genie

Jody Hamilton

Monday, July 15, 13

Have you ever played 20

questions?

Monday, July 15, 13

ReproducingScopingArticulatingResearchingExperimentingHackingRefiningShippingBilling

Steps to Solve a Problem

Monday, July 15, 13

I can reproduce the problem.

Reproducing

Monday, July 15, 13

I have tried to narrow the problem.

I have tried to broaden the problem.

I know the scope of the problem.

Scoping

Monday, July 15, 13

Is your problem visual in nature?

Monday, July 15, 13

Can you reproduce your

problem in a different browser?

Monday, July 15, 13

Does your problem relate

to data?

Monday, July 15, 13

Does your problem interact

with caching?

Monday, July 15, 13

Is your problem new?

Monday, July 15, 13

Can you reproduce the problem with

javascript disabled?

Monday, July 15, 13

Can you reproduce the problem in a

different theme?

Monday, July 15, 13

Can you reproduce the

problem with a different user

role?

Monday, July 15, 13

Can you reproduce the

problem on another page?

Monday, July 15, 13

Can you reproduce the

problem on last week’s codebase?

Monday, July 15, 13

Can you reproduce the

problem locally?

Monday, July 15, 13

Can you reproduce the

problem if you turn off a module?

Monday, July 15, 13

Can you reproduce the

problem if you turn off

aggregation?

Monday, July 15, 13

Can you reproduce the

problem on the dev version of the module?

Monday, July 15, 13

Can you reproduce the problem when

you bypass Varnish?

Monday, July 15, 13

Is the problem possibly related

to input formats?

Monday, July 15, 13

Does the problem have a human shape?

Monday, July 15, 13

I have rephrased the problem IN WRITING.

I have a timebox for looking into the issue.

Articulating

Problem: Users with the Editor role do not see fields for Title and Alt Text after uploading an image to the Media library in WYSIWYG. Admins do see the fields currently.

Goal: Both Editors and Admins should see the fields.

Monday, July 15, 13

Monday, July 15, 13

I have proven or disproven hypotheses .

I have determined the cause of the problem and written it down.

Experimenting

The problem is due to the og_moderation module not being compatible with the diff module.

Monday, July 15, 13

I have a rough fix.

I have recorded the hack.

Hacking

By hacking the diff module I can eliminate the problem.

Monday, July 15, 13

I have fixed the problem responsibly.

I’ll never have this problem again.

Refining

Monday, July 15, 13

The fix is deployed.

Shipping

Monday, July 15, 13

All interested parties have been informed.

Billing

Monday, July 15, 13

LinuxApacheMySQLPHP

The Stack of Problems

Drupal code: core, contrib, custom, config

HTMLCSSJSBrowserPEBKAC

Monday, July 15, 13

Write down everything.

Bad assumptions are costly.

Watch out for rabbit holes.

Isolate issues.

Take breaks.

Take Aways

Monday, July 15, 13

Peer review & manual testingAutomated testingZero toleranceLog gardeningGitConsistent environmentsPractice Safe Contrib

How to Have Fewer Bugs

Monday, July 15, 13

top related