One of the hardest parts about shipping code is working on a large feature while other developers are working on the same portions of the code. There are two ways that we can do this.
The first is that we can create a branch in our revision control software and develop the whole feature in the branch over several weeks or months. Every day we’ll want to merge in the changes that others are making so we have our code up to date. The annoying part of this process is that we’re going to get stuck merging in other developers’ changes because they’re unaware of how our changes are affecting the same code. These long-lived branches tend to be hard to merge back into the main branch and are a headache for all involved.
The second method is to develop small changes that take no longer than a day or so to create and are constantly being merged into the main branch. It makes our job much easier. The downside to this is that we then have to hide the new feature from our users until it’s ready to be deployed.
In this article we’ll explain how to use feature toggles to do just that.Read More
Vagrant makes it easy to go from zero to working in a very short time. We can feel free to completely wreck our setup because we can reset it back to a working state. The flip side to this is that while it’s easy to reset our VMs it might be a challenge or time-consuming to recreate our data inside the VMs.
What if there was an easy way to take a snapshot of our current VMs drive state so we could quickly get back to it?
In this article we’ll talk about how to use Vagrant’s snapshot feature to do just this.Read More
December’s links.Read More
PHP 8.1 added a bunch of new features and Enumerations are by far our favorite new feature. In this article, we’ll do a brief overview of why you should be excited too.Read More
PHP 8.1 is going to be released on November 25th, 2021 and we wanted to highlight the features we’re most excited about. This article doesn’t cover all of the new features but it does highlight the one we think will make the biggest improvement in our day-to-day development.Read More
September’s links.Read More
In our previous article, we discussed how we should hash and salt our user’s passwords to make them harder to crack if our database becomes compromised. In this article, we’re going to discuss how to use PHP’s built-in functions to do this.
As someone who has maintained this kind of logic in other systems, I’m so glad it was added to the core.Read More
Until we can get all of our users using a better solution like OAuth or SQRL storing our user’s passwords is going to be a common point of pain for us as developers. In this article, we’re going to discuss how to help our users have good password hygiene and what we should be doing to protect their passwords.Read More
October’s links.Read More
As developers, there are going to be times when we need to be able to keep digital information secret from individuals who we don’t trust. Encryption gives us the ability to keep our secret information secret and allows us to keep our jobs if we work with sensitive information.
In this article, we’re going to discuss the two types of encryption and go over the pros and cons of each.Read More
subscribe via RSS