Refactoring Tweaks - Workbook
Refactoring Tweaks - Workbook
Minimum price
Suggested price
Refactoring Tweaks - Workbook

This book is 100% complete

Completed on 2016-09-23

About the Book

You read Refactoring Tweaks.  How do you adapt the refactoring tweaks into your WordPress codebase?  It starts with practice.  First you need to develop the knack for spotting improvement areas. Then you can set out to refactor each one to improve your code.  But that takes practice.

The intent of this workbook is to provide you practice code challenges to help you fine-tune your refactoring skills.  Each challenge is an actual example from a WordPress plugin, theme, or core.  Each one has multiple refactoring opportunities to maximize your time.

How to Do the Exercises

  1. The first step is to review the code challenge.  
  2. Then mark each one of the potential improvement areas.  Refer back to the tweaks in the book if you get stuck.  
  3. Next refactor each of the areas that you identified.
  4. Compare your code to the solutions.


Each code challenge has a detailed solution, which walks you through step-by-step.  The intent is to share the thought process, why, and then the how to for refactoring. I even toss in some master tips and additional information too.

Come on. Let's have some fun.  It's time to fine-tune your refactoring chops.

About the Author

Tonya Mork
Tonya Mork

Hello, I'm Tonya. I'm an engineer (software and electrical) and a developer of web developers and software makers.

I have a knack for breaking down complexity, explaining the why and when of it, and building pathways for technical professionals to grow and excel. It's been the essence of my 30+ year career.

My Background

In the first part of my career, my teams and I engineered high-tech, automated systems for the world's largest manufacturers. My playground was deep into vision-guided robotics, instrumentation, tooling, and global monitoring systems. Here, I grew and honed my engineering, problem-solving, people, and tech leadership skills.

In 2001, I formed an elite consultancy firm, shifting my focus to partner with manufacturers. My team and I integrated into their team to tailor solutions specifically for them. We helped them to grow their teams' capabilities, reduce complexity, fine-tune processes, reduce costs, and increase production. Here, I grew my business, leadership, and customer success skills.

In late 2007, my world changed forever. It’s a gut-wrenching story, one that you can read here.

How about now?  

I’m pouring all of these years of experience into the WordPress Community. I actively teach and mentor WordPress developers and software makers, developing and growing each person's ability to build amazingly elegant, high-quality, and robust custom solutions. I'm giving back to empower each person and team to excel, innovate, and prosper.

Want to know more about me?

Check out my about me page on her personal site and follow her on Twitter.

Bundles that include this book

Refactoring Tweaks
Refactoring Tweaks - Workbook
2 Books
Suggested Price
Bundle Price

Table of Contents

  • Foreword by Tom McFarlin
    • Who Should Read This Workbook?
    • How to Read This Workbook?
    • Code Challenge 1
    • Code Challenge 2
    • Code Challenge 3
    • Code Challenge 4
    • Code Challenge 5
    • Code Challenge 6
    • Code Challenge 7
    Code Challenges
    • Code Challenge 1 - Solution
    • Code Challenge 2 - Solution
    • Code Challenge 3 - Solution
    • Code Challenge 4 - Solution
    • Code Challenge 5 - Solution
    • Code Challenge 6 - Solution
    • Code Challenge 7 - Solution
    Code Challenge Solutions
  • About the Author

Other books by this author

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub