Blog
-
Building a Dungeons and Dragons Game
I'm a big fan of Dungeons & Dragons, and have been for years, first playing the book adaptions of the game, before moving on to the group tabletop version and the computer games based on the tabletop rules. The recent success of Baldurs Gate 3 has seen a surge in the popularity of the genre. I wanted to take this passion and turn it into something creative using my skills as a developer. Contents …
-
Code-Free Views
I've recently been embarking on a mission to completely eliminate PHP code from my view files, here is why. What are Views? Often when you're building a website or application, if you build from scratch you end up doing a lot of the same kinds of things, like turning requests into specific pages, handling form validation, caching, etc. A long while ago (in the 70's according to http://c2.com/cgi/wiki?ModelViewControllerHistory)…
-
Labour of Love: Building a Framework
At the start of this year (2015) I embarked upon a small personal challenge which I'd set myself: could I build a PHP MVC framework in a week? I had a fairly quiet schedule at the time, and I believed it was possible, so I began. Now, I have had quite a few years experience using various frameworks, so I had a rough idea about how I wanted to go about structuring my own: Basic request router…