As developers, there’s constantly some new and exciting tool, technique, or package that we **should** be learning. If you’re anything like me, every couple of months, you create a new Git repository, install the latest packages, and start on a brand new side project, only to get bored as you have to write a user registration system for the umpteenth time. What if I told you there was a way to learn and experiment in a fun way? by Scott Keck-Warren
The Spacetraders client uses a strongly typed object to parse API responses. However, as it’s grown in functionality, the user experience—especially the output–has become increasingly cumbersome. We added a basic help command, but the output of our commands still leaves much to be desired. Scrolling through endless lines of raw dumps of complex objects isn’t just tedious-it’s inefficient. Let’s address the UX and make our tool a pleasure to use. We’ll show how PHP’s string manipulation capabilities can render clean, readable, and even color-coded output. From sprintf() to venerable ANSI escape codes, let’s dive into some old-school functions to polish our output. by Oscar Merida
Early on Thursday, 8th June 1995, Rasmus Lerdorf, sitting in the glow of the CRT monitor with a half-empty coffee cup next to him, is about to change the world of development for the web forever. He has no idea, of course, what a monumental post this would end up being at the time, but I’m sure he knows now what impact that simple decision had. by Christopher Miller
The Back Office Exception Reporter enhances error management across Back Office jobs by making code more readable, reducing redundant code, and facilitating unit testing. It separates error handling from core logic, addressing complex API issues like those from Stripe. The human-friendly exception report format aids systematic troubleshooting, while job examples demonstrate seamless integration and testing. This architecture results in more maintainable and reliable Back Office jobs. by Edward Barnard
In the last article, “Hosting Your Application”, in October 2024, we examined some of the more popular ways to host your PHP code. This journey took us from running our own server to not worrying about infrastructure at all and using something like a serverless platform. by Chris Tankersly
Every October, the President of the United States and Congress declare Cybersecurity Awareness Month, which was just last month. The goal of this declaration is to remind professionals to set aside time to focus and brush up on their cybersecurity skills and knowledge. by Eric Mann
Leave a comment
Use the form below to leave a comment: