Dark Mode is a staple of modern web apps and an excellent way to better care for our eyes. However, you don’t have to enable dark mode for your entire desktop to test your web app’s dark mode implementation. Here’s how to enable it at the browser-level.
How to Set a POST Variable From a File When Using Curl
When using curl, how do you set the value of one or more of the POST variable’s from the contents of a file? For the longest time, I didn’t know. But recently I found out. In this post, I’ll step you through several ways you can do it.
If you love using data providers in PHPUnit, but find defining them verbose (and potentially buggy) then you’ll love the attribute-based approach in PHPUnit 10. Learn the essentials in this short post.
Learning Java as a PHP Developer
Recently, I've started to learn Java, after over 20 years since I first learned it. As a, primarly, PHP developer it's been an interesting experience. PHP is still easier for web projects. Here are some reflections on why.
Learning Java as a PHP Developer
Recently, I've started to learn Java, after over 20 years since I first learned it. As a, primarly, PHP developer it's been an interesting experience. Here's what I’ve learned so far.
Configure CakePHP to Connect to SQLite
CakePHP is one of the best development frameworks for PHP and SQLite is one of the best relational databases you can use with it. But, how do you connect the two together — quickly — so that you can get developing? In this short tutorial, I'll show you the essentials.
Dockerfile build arguments go out of scope
When you’re writing Dockerfiles using build arguments (which you should) it’s important to keep their scope in mind. Otherwise, you’ll get very frustrated (more than likely).
Good UI is Worth the Investment
As software designers and developers, how often do we think about — or even put ourselves in the position of — the users whom we're creating software for? How often have we had to use a poorly designed software (regardless of whether it was a native or web-based app or API)?
Remove Package Manager Caches for Smaller Image Sizes
Keeping images small is a key Docker best practices. But how do you do that when you need to install packages for your application to work? One way is to clean out package manager caches. In this short tutorial, I'm going to show you how to do that with Debian and Alpine Linux base images.
Live Reload Go Projects with wgo
Building web apps in Go is extremely rewarding. However, as Go’s a compiled language, to see changes, you need to restart the app. Needless to say that's quite tedious! With live reloading, it doesn't need to be.