Discuss your project

Tushar Sharma

Blogs

Structuring WordPress at scale with Composer, PSR-4 & npm

1. The problem with untooled WordPress code A typical plugin without tooling grows the same way every time: one file becomes a dozen, and someone adds a stack of require_once calls at the top of the main plugin file — each one position-dependent, because class B extends class A. Add a few contributors and a couple of […]

postmeta vs. custom tables: making the call before it’s too late

postmeta vs. custom tables: making the call before it’s too late

1. How postmeta query performance degrades wp_postmeta is an entity-attribute-value table: every meta key/value pair is its own row. A meta_query joining on three or four keys generates a multi-self-join query that doesn’t scale the way a properly indexed dedicated column would. The symptom is always the same — admin list screens and front-end filters […]