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.
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).
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.
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)?
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.
Restrict HTTP Request Methods in Go 1.22
Restricting HTTP request methods, when working with net/http prior to Go 1.22 was a little complicated. However, that’s all changed. Now, it’s pretty trivial. In this short tutorial, I’ll show you the new approach.
Restrict HTTP Request Methods in Go 1.22
Restricting HTTP request methods, when working with net/http prior to Go 1.22 was a little complicated. However, that’s all changed. Now, it’s pretty trivial. In this short tutorial, I’ll show you the new approach.
Go mod tidy - A Quick Introduction
What is go mod tidy and why you would use it? In this short tutorial you’ll get a brief introduction to what it is and see the essentials of how to use it.
Debug Go Code with Visual Studio Code
Recently, I started debugging Go code using Visual Studio Code. Some minor hiccups aside, it was pretty trivial to get up and going. This is the short version of what you need to do to get started.