Apr 17, 2013
In 2001 I created a PHP 4 web application framework from scratch as the backbone of a sophisticated application. Back then frameworks weren’t cool. Smarty templates were the hotness.
My framework had URL routing, templates with a capable templating syntax similar to mustache, loosely coupled and tightly cohesive object-oriented design, an elegant way to access the database without dumbing it down, and nicely separated business logic and presentation layers – among many other nice things you find in good frameworks. As the application grew more and more complex, the framework continued to serve well with only occasional enhancements. It’s still in use more than a decade later.
I mention this because I think I’ve been reasonably capable of designing maintainable systems for a long time. But the so-called MVC paradigm (model, view, controller) has never made sense to me.