My Other Website

My other developer blog is at

My goal with has been to improve quality. The easiest way to improve quality is to delete low-quality posts, revise existing posts, and not post off-the-cuff articles. So, I’ve been posting less.

It’s worked, but I still like to write things out, to flesh out the ideas. Sometimes, they’re bad ideas, or foolish ideas, or half-baked ideas.

That’s what DeveloperBrainFarts is: a blog full of half-baked, foolish ideas, and a few good ideas. Check it out if you want, or ignore if you want.

PHP Forms Worst Practices (at least, not “best” practices)

Several web pages came up when I searched for PHP forms best practices. I figured that the techniques, today, would be have improved.

They hadn’t.

In fact, the Bing search engine turned up pages that I thought described some bad practices.

Continue reading PHP Forms Worst Practices (at least, not “best” practices)

Refactoring as Part of Porting PHP4 to PHP7

I’m writing this pretty late, after a night of coding.

The LA IMC software port went kind of okay, but also kind of screwed up. There are a bunch of bugs popping up, but that was expected.

The first bug was simple: some of the code was still using the old classes, and some of the code was using the new classes. I had to search through the code to find out why this was happening, mainly by looking at the code.
Continue reading Refactoring as Part of Porting PHP4 to PHP7

Application State Study (Hamurabi Port)

I had to drop out for a month to deal with taxes and keep porting this site.  I’m catching up, and this article is a meandering mess that goes nowhere, so, if you value your time, don’t even read it.

I was porting the Hamurabi code to run with React, built the UI, and got a little confused about where to keep game state. Many coders seem to have this problem, according to the tutorials.

Continue reading Application State Study (Hamurabi Port)