Create Topic

WP Tavern Forums Create Topic

Create New Topic

Peter Knight

The Fields API should have come before Gutenberg and the customizer so that the future of WordPress would have a stable base to pivot on. But now we have a two large projects that are evolving in problematic ways and it will hamstring WordPress for the next decade (that is, the customizer and gutenberg). Javascript development was the moment to look at WordPress’ mishmash code foundation and take a more sustainable approach as a whole new layer of code is added and it seems to me like we’ve blown it.

It’s shiny object syndrome gone wrong, despite the best intentions of the developers who’ve put in a massive amount of work to make things happen in core which is no small feat. Someone with a sense vision should have steered this in a different way, but it’s become clear to me that the leadership is failing and falling for the wrong kind of aims.

Take the perverse instinct to dominate in terms of market share and raise it to ridiculous levels. Take the longing to be a modern JS centric webapp that looks in total deference to how the big boys do things (Facebook and Google). And the sad irony is the contradiction there, trying to be a giant of the web while utterly failing to do what the behemoths do, which is to do things their own way.

As WordPress transforms into a half baked React app that serves mangled code, compiled and built while denying normal users an comprehensible look in, it has totally forgotten what WordPress was and how it came to be. Attempting to be a giant while being too shy to be its own quirky self – a code base that could be easily played with with an API that was distinctly its own. Instead it is ashamed of its own PHP foundations and desperately wants to conform to what’s happening elsewhere. It is now instead shaping itself in the image of projects pushed out by developers working for corporate giants who are merely looking to impress each other with their optimisations as they ignore what damage their employers are doing to the wider web and the fabric of society. And that thing that takes hold of these developers, that constant urge to look for better technical solutions with ever more complex tools mandates that new projects are started and old ones abandoned, because you can’t impress with mere maintenance of a project.

All this to me is antithetical to what WordPress has come to mean to me over the last decade. It now seems like it’s in a hurry to cast away its roots. So in a rush we are, despite enjoying market dominance, we never even considered the ramifications of the code we’re pushing out today. We have Gutenberg that is going to break hundreds of thousands of lines of code written by thousands of developers and self-taught webmasters. We have the customizer that shovels so much clientside code down the throat of a users’ browsers that it has become the most sluggish, slow loading part of the UI while not even offering a clear way of intersecting back with Gutenberg. And it’s really painful to write that as someone who was a big fan of the customizer and has spent hundreds of hours creating custom functionality in the customizer.

In hastily embracing javascript and the REST API it seems like not one thought was spent thinking about how we could port over WordPress biggest strengths in terms of how the PHP code base empowered developers of all levels. A true market leader wouldn’t have tried to shoe horn what others are doing in terms of code, functions or features into the project. It would have decided how to be more of itself in a more modern way. Now WordPress is turning into something very different. It may continue to be the market leader, but it will have lost some of its DNA along the way. And it’s a damn shame.






Newsletter

Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.