Skip to content
Alex Standiford edited this page Nov 30, 2021 · 2 revisions

The goal of Underpin is to provide a pattern that makes building scale-able WordPress plugins and themes easier. It provides support for useful utilities that plugins need as they mature, such as a solid error logging utility, a batch processor for upgrade routines, and a decision tree class that makes extending and debugging multi-layered decisions way easier than traditional WordPress hooks.

Fundamentally, Underpin simply a few key programming patterns that compliment the extend-able nature of a typical WordPress plugin. Things like Loader Registries make it possible to extend the plugin in an organized, and controllable manner, and an Observer Pattern, which provides a familiar add_action, and add_filter-like syntax to a more-robust pattern. This also provides support for middleware, which allows for a good blend of inheritance and composition methodologies.

Clone this wiki locally