The Birth of the Page Controller
Why page-level control became necessary and how the first PageController design appeared.
Why page-level control became necessary and how the first PageController design appeared.
The problem of removing event handlers when closures change function identity, and the pragmatic registry solution inside Cotomy.
How I handled dynamic HTML input in CotomyElement, where parsing breaks, and why the boundaries became strict.
Why the constructor overloads capture my real design intent: locality, scoped CSS, and practical DOM ownership.
How I struggled to bind logic to individual pages, and how controller classes gradually gave my TypeScript library framework-like properties.
How unstructured API calls became the next bottleneck, and how form classification reshaped my TypeScript foundation.
How ElementWrap emerged from jQuery migration and CSS collapse, and how scoped styling reshaped my UI architecture.
The pragmatic early design that predated Cotomy: PHP routing, template friction, and the first DOM-wrapper impulse.
How working as a solo internal engineer reshaped my architectural thinking.