The Case for Drupal Fit, shaping-up to be a better Drupaler. New science points the way to maintaining and improving mental agility with diet and exercise. Find out how to add fitness to your daily and weekly iterations to live long and prosper.
Produced and originally presented by Erin Clerico at the March 12, 2013 LA Drupal meetup: http://groups.drupal.org/node/286638.
The slides for the accompanying slideshow can be seen here: http://www.slideshare.net/stevenator/drupal-fit-treadmill-presentation
8. Agile Brains For Drupal
“Exercise,
the latest neuroscience suggests,
does more to bolster thinking
than thinking does.”
New York TImes Magazine: April 18, 2012
How Exercise Could Lead to a Better Brain
http://www.nytimes.com/2012/04/22/magazine/how-exercise-could-lead-to-a-better-brain.html?pagewanted=all&_r=0
Thursday, March 14, 13
9. More Brains for Drupal
“Remaining physically active as you
age, a new study shows, may help protect
parts of your brain from shrinking, a
process that has been linked to declines in
thinking and memory skills.”
New York TImes Well Blogs: October 26, 2012
Exercise May Protect Against Brain Shrinkage
http://well.blogs.nytimes.com/2012/10/26/exercise-may-protect-against-brain-shrinkage/
Thursday, March 14, 13
10. Pizza Can Slow Drupal
Development
“In recent years, some research has suggested
that a high-fat diet may be bad for the brain, at
least in lab animals...” (and Drupal coders)
“But those animals that were running, even
if they were eating lots of fat, showed notable
improvements in their ability to think and
remember.” (and build performant Drupal sites)
New York TImes Well Blogs: November 7, 2012
Can Exercise Protect the Brain From Fatty Foods?
http://well.blogs.nytimes.com/2012/11/07/can-exercise-protect-the-brain-from-fatty-foods/
Thursday, March 14, 13
11. I’m too busy with my Drupal
Projects to work out!
“...the men who had exercised the most,
working out for 60 minutes a day,
lost an average of five pounds each.”
“...the volunteers who’d worked out for
only 30 minutes a day did considerably
better, shedding about seven pounds each”
New York TImes Well Blog: September 19, 2012
For Weight Loss, Less Exercise May Be More
http://well.blogs.nytimes.com/2012/09/19/is-30-minutes-of-daily-exercise-a-sweet-spot-for-weight-loss/
Thursday, March 14, 13
12. Hack your workout
Intervals cram more exercise
benefit into less time:
1 Minute at 90% of your maximum heart rate
(220 - $your_age) + 1 minute of easy recovery
repeated 10 times for a total of 20 mins
= 30 minutes of a sustained workout
New York TImes Well Blog: February 15, 2012
How 1-Minute Intervals Can Improve Your Health
http://well.blogs.nytimes.com/2012/02/15/how-1-minute-intervals-can-improve-our-health/
Thursday, March 14, 13
13. What’s in it for you?
• Feel better
• Longer life
• Less disease
• Smaller pants
• Bigger brain
• Better Drupal Sites
http://well.blogs.nytimes.com/2012/02/15/how-1-minute-intervals-can-improve-our-health/
Thursday, March 14, 13
15. hook_cardio (&$you)
Walking
“Those who completed 150
minutes of brisk walking a week
(the amount recommended by
the federal government and the
American Heart Association)
lived 3.4 years longer.”
(and often had happier dogs)
Thursday, March 14, 13
16. Agile: Pair coding
Walking
“Those who completed 150
minutes of brisk walking a week
(the amount recommended by
the federal government and the
American Heart Association)
lived 3.4 years longer.”
(and often had happier dogs)
Thursday, March 14, 13
17. hook_preprocess(&$you)
Cycling
• Good Exercise
• Hi-tech bikes and gear if
you must spend money
• Always makes me feel
like a kid
Thursday, March 14, 13
18. hook_field_access(&$you)
Group Workouts / Bootcamps
• Regular time - you must be there!
• Instructors push you harder!
• Lots of choices - Spin, Circuit Training, Zumba,
boxing...
Thursday, March 14, 13
19. Agile: Don’t go it alone
Group Workouts / Bootcamps
• Regular time - you must be there!
• Instructors push you harder!
• Lots of choices - Spin, Circuit Training, Zumba,
boxing...
Thursday, March 14, 13
21. hook_menu_alter(&$food)
Agile: Develop small, incremental
releases and iterate
• No sugar-drinks
Thursday, March 14, 13
22. hook_menu_alter(&$food)
Agile: (DRY)
Do Repeat Yourself
• Eat a vegetarian meal
once a week!
Thursday, March 14, 13
23. hook_menu_get_item_alter(&$caffeine)
Agile: The simplest
thing that can
possibly work
• Have a black coffee
or soy latte instead
Thursday, March 14, 13
24. hook_menu_delete(&$food)
Agile: Welcome
changing
requirements
• Skip the cheese
and the sour cream!
Thursday, March 14, 13
25. hook_menu_update(&$food)
Agile: Refactor often
• Have the veggie
burrito bowl instead!
Thursday, March 14, 13
27. hook_menu_insert(&$food)
Agile: Grab the low hanging fruit
• As a part of your daily routine
prepare some sliced apple
and oranges or bananas
as an afternoon snack
Thursday, March 14, 13
30. Sleep Well to Learn Well
Proper sleep improves (Drupal) learning
“Our results revealed that a period of
sleep following a new experience can
consolidate and improve subsequent
effects of learning from the experience”
redOrbit (http://s.tt/167Yd)
Thursday, March 14, 13
31. Sleep It Off!
Proper sleep improves weight loss efforts
“When you don't get enough sleep, it drives
leptin levels down, which means you
don't feel as satisfied after you eat.
Lack of sleep also causes ghrelin
levels to rise, which means your
appetite is stimulated, so you
want more food”
http://www.webmd.com/diet/features/lose-weight-while-sleeping
Thursday, March 14, 13