Application and data architecture

35 posts
Improving performance and reliability of client's core business component using a simple running total

Improving performance and reliability of client's core business component using a simple running total

A client project I work on required some processing, scheduled nightly at 2am. I’m a curious creature, by nature, so I was eager to learn what keeps the queues busy for up to 30 minutes in the middle of the night. It must have been something important! The business...

Merging 4 codebases with help of Rector

Merging 4 codebases with help of Rector

The set up When developing software, you sometimes come up with ideas that in the end don’t really work out. Depending on the idea and on the time spent finding out it’s a bad idea, it can be challenging to turn back the changes. One of those ideas...

Effectively using Facades and Hexagonal Architecture to separate bounded contexts

Effectively using Facades and Hexagonal Architecture to separate bounded contexts

Separating your bounded contexts A challenge when implementing bounded contexts is managing the dependencies between them. We always aim to make bounded contexts as independent as possible, but making them completely independent is impossible and unwanted. Software tends to be useful only when the different parts talk to each other....

Deploying distributed web application - Laravel queued jobs

Deploying distributed web application - Laravel queued jobs

If you have a really simple PHP application that you deploy to a single server, deploying it basically boils down to transferring the source code to the server, one way or another. Maybe you also clear OPcache, if you have it enabled. If your application is more complex and constitutes...

Building an SDK with PHP, part 3: Making it testable

Building an SDK with PHP, part 3: Making it testable

This post is part 3 of the “Building an SDK with PHP” series. Read Part 1 and Part 2 In our last article we’ve looked at how we can make our SDK configurable and today we’ll apply this to cover our SDK with several unit tests. What should...

Building an SDK with PHP, part 2: Making it configurable

Building an SDK with PHP, part 2: Making it configurable

This post is part of the “Building an SDK with PHP” series. Read Part 1: building an SDK. If you’ve followed along with the last post you have created a SDK in PHP while leveraging various PSRs such as PSR-17 and PSR-18. Today we’ll take this a step...

Bounded contexts for dummies

Bounded contexts for dummies

Chunking up our code No matter how smart or intelligent we are, when things become too complex, we can no longer keep them in our brain completely. I recently saw this tweet from Kent Beck that makes a lot of sense. The goal of software design is to create chunks...

Building an SDK with PHP: Part 1

Building an SDK with PHP: Part 1

Whether you’ve built a private or public-facing API, at some point you or your users are going to want to communicate with it. To make things easier you might want to open-source an SDK that other developers can install. In this article we’ll take a look at how...

12 Factors in the era of containers

12 Factors in the era of containers

The 12factor manifest is a set of guidelines to help us build SaaS applications that can easily be operated and scaled without much effort. It was originally put together by the folks at Heroku and is as relevant today as it was when it was published in 2011. Heroku uses...

You’ve successfully subscribed to madewithlove
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.