A Year in Review (October 2023 – 2024)

5–8 minutes

I realize that it is October, but since the fiscal year for my job has turned a new leaf, I thought it was a good time to reflect on what I had done.

At a Glance

Choctaw Nation of Oklahoma

5 sites launched
7 projects completed
3 new knowledge points gained
  • GitHub Actions
    • Multi-step actions
    • Reusable actions
    • Deploy environments
  • Playwright testing
    • Most notably, using TDD to build a small React app on top of WordPress helped me to rebuild the feature with Search and Filter Pro when my supervisor asked me to.
  • Bootstrap Modifications
    • Most notably, putting in the proverbial ten thousand hours to really understand how Bootstrap (v5) works and how to optimize its bundle size with SCSS and JS modules/imports.

Kingdom One

Misc. Side Projects


Reflections

Beyond the new sites and project completions, I wanted to offer some bigger picture ideas on what I’ve learned in the past year.

Moving fast to improve tech stacks and processes isn’t really helpful if no one else moves with you.

This is why I needed to rebuild my React app with Search and Filter for an upcoming site—the React app might be more performant and deliver a faster experience for end users, but since no one else on the team can really maintain a React app, it doesn’t help us overall. In fact, it even works against my personal work-life balance philosophy.

Some things that I’ve started—getting the team on Github, getting the team to use composer to lint PHP, getting Github to prevent PRs if those code checks fail, etc.—have been really helpful in creating more readable, maintainable and scalable code. Often, those same checks get in the way of us moving fast to deploy or fix bugs. While much of this could be chalked up to some type of systemic failure (e.g. our project-to-person ratio seems off or our team doesn’t have enough time to build skills), that doesn’t take away from the fact that some of it falls on me for moving too fast.

Good change is still change, and change should be made compassionately and patiently.

If you’re going to use a framework, know how to use it deeply.

We use Bootstrap 5 and WordPress pretty exclusively. The only real deviation from that is when I reach for Astro, and besides just loving Astro, I find it’s also beneficial to think through a site a WordPress-y way without having to go through the hassle of spinning up a new local site, installing the template theme, loading 3 environments on WP Engine, etc.

The more I use WordPress, the more I learn about PHP. I came to PHP by way of Javascript (and, hilariously, circled back around to Typescript by way of PHP ^8). WordPress’s code standards have a lot of opinions about some of the defaults of PHP (e.g. prefer gmdate() over date() or use wp_json_encode() vs json_encode()) and WordPress sometimes just has different ways of doing things. Given its maturity, it seems to behoove me to strictly do WordPress the WordPress way.

The more I use Bootstrap, the more I realize just how configurable it can be and how little custom CSS I really need to write to get a site built. I’ve heard a lot about CSS utility classes because of Tailwind, and I’ve come to prefer Bootstrap’s lightly opinionated utilities over Tailwind’s seemingly total lack of opinions (besides which order classes come in). I’ve found that, assuming our UX/UI designer has enough time, I can usually modify Bootstrap’s final Sass file (some version of this) to create the utilities that I need, and simply style things in a utility-class kind of way.


Looking Ahead

Here’s a quick wrap up of things I’m looking forward to in the next year:

More Test-Driven Development with Playwright

In my eyes, there’s not always a strong argument for Playwright with how we develop sites. However, as we move further into web-app territory instead of purely website territory, I’m excited to have Playwright for end-to-end testing.

I’m also excited to delineate and define when/why we would need Playwright to make refactors and builds more future-proof by adding test coverage early.

Diving further into Gutenberg Development

With the Choctaw Nation of Oklahoma, we build our sites a pretty standard way: Classic WordPress theme (php files) + Advanced Custom Fields Pro (and some select extra plugins). It’s hyper locked-down for our content team, and it makes time to dev a bit slow (in my opinion). With Kingdom One, we develop WordPress with the visual builder Cornerstone by Themeco. It’s super flexible, but I think it’s kind of heavy and I also think it would fail some basic accessibility tests out-of-the-box (although it could probably be configured to work around this).

Both organizations could meet in the middle with Gutenberg, and I believe that as the Gutenberg project matures, it will only become increasingly harder to ignore it and not move that way as a WordPress developer.

Building out Sara’s Macros Dashboard App

I’ve been really inspired by the daily.dev PWA on my iPhone, and I’d love to deliver that same type of experience to my wife’s clients. It’s a big lift, and it’s another opportunity for me to work with Bootstrap and WordPress in a new way! I’ve messed with Material UI and Tailwind for other projects, and while I like them both, I’m not looking to learn new UI libraries or CSS meta-frameworks so much as I am trying to learn about building dashboards and a performant PWA on top of a database.

Since it’s my project, I’m not tied to any specific look with Bootstrap, so I can be as creative as I want with layouts, and I’m building a decoupled WordPress system—easy enough to properly migrate to headless, and potentially easy enough to migrate the backend if I wanted/needed to.

Building the CNO Wiki site

We’ve needed a strong docs site since I arrived back in 2022, but the time has never really existed. The need has only become more pressing, and I think that this project could help lead the way into Gutenberg adoption (probably in the Classic Theme + Block Editor approach) for the Nation, as well as improve inter-team communication. It’s got a lot of big questions to solve, and I’m looking forward to implementing a lot of modern features (color modes / themes, Command + K or / to search, etc.). Similarly to the Dashboard app, it’ll be Bootstrap + WordPress, and the use of both will probably break from the “standard” way the Nation’s dev team has done things for a while.

Onwards and upwards into the next fiscal year!