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)
It was, surprisingly, not that bad. (So far. It’s not done yet.) Here’s a rundown of how it was done. Ask questions in the comments, because this will be brief.
Continue reading Porting from PHP4 Era Code to PHP7
This article describes how to configure Apache to run a Slim Framework application using PHP-FPM, as a FastCGI application.
Continue reading Configuring Apache with FastCGI PHP-FPM for a Slim Application
If you get this error message during a test, it’s because jest isn’t making the network call. You need to make a mock for fetch(), replacing the network call with a fake.
Continue reading React Test TypeError: Network request failed
Several years ago, I wrote an article about this, and it was really a mess, but the PHP community understanding about autoloaders and namespaces was a lot worse than it is today. This article attempts to amend and supercede the original, and explain the magic.
Continue reading PHP Namespaces and Autoloaders, Reviewed