One of the things that I find myself trying to do on a regular basis is to streamline how I’m building WordPress-focused functionality. I’ve recently talked about this but thought I’d expand on it a little bit more.
That is, I thought I’d lay out the approach I take when building things such as custom post types, taxonomies, meta boxes, and so on.
Generally, think of this as a strategy that I follow for building out aspects of a project that interfaces directly with WordPress but may require a few components such as:
- classes that register themselves with WordPress through various hooks,
- classes that require calls to certain WordPress APIs
- and classes that require a custom view.
Sure, not every thing that interfaces with WordPress will need all of the above (for example, does a custom post type need a view? No. But a meta box does.)

