‘Plugin Architecture’ Videos

  • Steve Grunwell: Considerations and concerns for platform plugin development

    WordCamp Northeast Ohio 2021Speaker: Steve Grunwell

    May 28, 2021 — This talk offers a deep dive into the architecture, development decisions, and release process behind the “Must-Use” (MU) plugin that runs on every WordPress site across the Nexcess Managed Applications platform.

    Presentation Slides »

  • Diana Espino: Clean Architecture In Plugins & Themes

    WordCamp Miami 2017Speaker: Diana Espino

    September 6, 2017 — Finding the best way to organize your code is one of the hardest parts of coding custom plugins and themes. Determining the best way to architect your code can prevent nightmare situations from surfacing in the feature. No more taking forever to add new features! No more breaking unrelated pieces of code that haven’t been touched! No more nightmares when refactoring code for compatibility with a recent WordPress update!

  • Tom McFarlin: Namespaces, Autoloading, and Improving Plugin Architecture

    WordCamp Atlanta 2017Speaker: Tom McFarlin

    March 24, 2017 — Imagine, for a moment, the ability to add a new class to your WordPress plugin and not have to worry about adding a new include statement and having the ability to organize the class into a pre-defined package structure.

    Sounds nice, right?

    Unfortunately, one of the problems that WordPress plugins developers face is having to work with older versions of PHP. But it’s really not as bad as you may think.

    Although we sometimes, we sometimes have the ability to use newer versions of PHP (and that’s great), it doesn’t mean we have to forgo poor development practices.

    See, depending on the paradigm with which we build our projects (namely, object-oriented programming), we have the ability to take a lot of redundant code out of our plugins.

    Furthermore, we have the ability to more easily organize our code at both a conceptual level and at a virtual level.

    In this presentation, I walk everyone through namespaces and autoloading, explain how they work, why they are beneficial, and then will show sample example code on how it works. I’ll also provide a downloadable plugin that they can use to study.

    Presentation Slides »