Nativa PHP Core

Taxonomy

Tag: refactoring

Browse articles by tag.

Frontend Refactor, Part 1: Moonshine Falls Into Sections

2026-09-13 · Architecture · Nativa Dev

Frontend Refactor, Part 1: Moonshine Falls Into Sections

The 751-line Shell and 659-line Renderer in the moonshine theme fell into sections, critical CSS in eight classes with proven byte-parity, chrome in its own classes, and a renderer facade with zero magic. Along the way, the refactor showed why a class name can collide with a PHP 8.5 import.

Read article →
The Bulk Delete That Rendered Twice

2026-08-30 · Clean Code · Evan McDan

The Bulk Delete That Rendered Twice

We built bulk delete for four admin tables. Then we duplicated every table renderer. The fix was one shared class per entity, but getting there taught us something about HTMX and code ownership.

Read article →