Not sure who the original author is but I have this poster on my wall.   Peter’s Laws (The Creed of the Sociopathic Obsessive Compulsive) If anything can go wrong, fix it! (To hell with Murphy!) When given a choice, take both. Multiple projects lead to multiple successes. Start at the top and work your way up. Do it by the book… but be the author. When forced to compromise, ask for more. If you can’t beat them, join them, and then beat them. If it’s worth doing, it’s got to be done now! If you can’t win, change the rules. If you can’t changeRead More →

Magento. Ah Magento. The very name can get responses from web developers ranging from delight to running screaming out of the room. Love it or hate it, it is one of the most used commerce platforms on the planet. The dev team I work with was having trouble with a custom Magento module. It was designed with a feature switch that would allow for the module to be turned off. This was configured in the xml for the modules etc/system.xml and set in the admin config for the module. The possible values would be Yes or No to turn the module on and off. ThisRead More →

I was working on a legacy project recently and it involved moving old php code to a new server. The old code was on a server with php short tags enabled. Short tags allow for the <?php tag that starts a php file or php code block to be written as just <? , a shorter version. The primary issue with PHP’s short tags is that PHP managed to choose a tag (<?) that was used by another syntax, XML. As this is not standard practice I searched for a way to convert all of the php files in one pass. I  found this linux  commandRead More →

I am currently working on a project and am using the MySQL console. The project involves moving an existing codebase and database to a new server. I have ssh and MySQL console user access on the new server. This assumes you know how to use ssh to connect to the server and have a basic knowledge of MySQL.   The words in curly braces are where you enter your required credentials. Do not include the curly braces. Make sure the MySQL console commands end with a semi colon.   First, ssh into the new server and type this command to run the MySQL console: mysql -uRead More →

Welcome. is a space for me to rant, rave and decompress. I have been developing systems and writing code for a fair amount of my life. My first programs were written on a TRS-80 or trash-80 so I have been at this a while.  One reason I started this is that I want to share some of my experiences/frustrations/challenges with web development. In my day job I get to work in a challenging environment and deal with the full web stack. Front end, back end, db admin, devops, sysops… these are a few of the hats I get to wear. Over my web developmentRead More →