implements Hello_Dolly

Jonathan Brinley

November 12, 2016

We start with everyone’s favorite WordPress plugin, “Hello, Dolly”. With a dramatic wave of our hands, we speak the magical word: “Refactor!” Let’s see how far we can go.

Sure, “Hello, Dolly” doesn’t do anything practical for your site, but the plugin does provide a simple introduction to the power of the WordPress plugin API. Even this encapsulation of a generation’s hope and enthusiasm could benefit from a refresh, going beyond procedural code to demonstrate the intersection of the plugin API with modern development best practices. Learn about object-oriented design, dependency injection, automated tests, and more as we apply SOLID principles to WordPress’s most venerable plugin.

You can also view the slides on SlideShare.

Topics: , ,