The thing about frameworks

As more coding is handed over to agents, one big question coming is around the value of frameworks. I’m going to use ‘frameworks’ pretty loosely, but I’m mostly thinking about software that you build on top of, from WordPress and Laravel to Ruby on Rails or Next.js. Why should I reach for an opinionated framework when the agent can just do everything for me?

At the recent Rails World, DHH claimed that “Abstractions don’t make quite the same sense in the age of agents”, as if the code is now so unimportant that there’s no reason to even think about it. On the flip side, Cloudflare is now targeting the shrinking CMS market with Emdash, a framework on top of a framework (Astro) on top of an opinionated hosting stack.

To be fair, DHH still made a bit of a case for Ruby on Rails and the value of shared conventions, so I think we should take that line with a grain of salt. I prefer the framing Aaron Francis gave in the recent Laravel launch:

In that world, the language you pick matters less than it used to, but the frameworks matter more than ever. A good framework is thousands of decisions that have already been made, so you don’t have to make them. Neither does your agent. You can kind of think of a framework as a cache of intelligence. Your agents don’t burn tokens working out auth, queues, migrations from scratch every single time. The answer is already there. Frameworks are the guard rails that let agents move fast without driving off a cliff or into a wall.

Laravel mildly shocked the world this when it announced a port of Laravel from PHP to Rust. If Cloudflare’s recent ports could be considered ‘slop forks’, Laravel founder Taylor Otwell wanted to be clear that Laravel Rust was the opposite.

Speaking on a recent episode of Mostly Technical, he talked about the time he spent crafting Laravel Rust:

The AI was not one-shotting things.[…] I definitely don’t want people to get the impression it was just this kind of hasty thing. It was like very long days of back and forth and lots of just kind of thinking about how I wanted things to work. [..] I wanted the whole thing to feel just extremely considered and thoughtful and well-built, you know, and confidence-inspiring, all the way down to the documentation.

Laravel Rust doesn’t sound a slop fork, so what it is? Taylor calls Laravel a ‘mindset’. Laravel is the ‘batteries included’ framework for building applications.

I like to think of WordPress and WooCommerce in a similar way – it’s ‘batteries included’, you can start with a vanilla install and have all the basic primitives you need to get from zero to one. Similar mindset, different audience.

Of course, the Laravel announcement led to a number of “WordPress Rust when” tweets and at least one slop fork already:

WordPress is no stranger to forks. Heck, I work for WooCommerce, itself a fork of a previous ecommerce plugin. But WordPress is not Laravel. It’s not designed for developers, but for end users who expect a one-click update button. It has extreme backwards compatibility and robust extensibility. Porting WordPress means porting the tens of thousands of extensions and themes, or else forging a brand new path.

Most forks and ports will have an uphill battle to gain adoption. If I’m asking my agent to build a specific type of project, why would it reach for the brand new, untested slopfork? Increasingly agents are solidifying the dominance of existing frameworks that live on big domains with a strong page rank.

I think the key phrase from Taylor is “confidence-inspiring”. What makes a new framework feasible? Confidence. And that confidence comes from ownership and distribution.

Projects like Laravel Rust and Emdash have a head-start because they have the distribution and ethos of being presented by established players with good track records. It’s not like this is the first time someone ported Laravel to Rust. It’s just the one that’s backed by the official project.

We saw the same thing with Gutenberg, which continues to grow inside of the WordPress ecosystem. It had a rough start, but alongside Elementor, it continues to grow while almost every other page builder loses share. Part of that is improvement in the product. The bigger part is just the trust that comes when something is backed by the project. That’s a signal that’s only going to be more important going forward.

So yes, frameworks are still important. A good framework should help you move faster, code more securely, and burn fewer tokens. But what’s more important is whether the creator is “confidence-inspiring” and has the visibility and distribution to grow the framework enough to continue maintaining it.

One response to “The thing about frameworks”

  1. Derek Avatar

    Really great insights and perspectives. WordPress might lose overall market share, but it will continue to be a trusted, solid foundation for building for years to come. Confidence is the right word to describe it. I have total confidence in the things WordPress provides that my agents can utilize.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Follow Modern WordPress Development

Receive new posts in your inbox. Never spam.

Continue reading