Application and data architecture

24 posts
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...

Hexagonal Architecture demystified

Hexagonal Architecture demystified

If you try researching “Hexagonal Architecture” these days, you will find a lot of articles and videos that can feel overwhelming because they often include a much broader view of Hexagonal Architecture than was originally proposed by its author Alistar Cockburn. This view often mixes Hexagonal Architecture with other architectures...

Why good engineers avoid cool solutions

Why good engineers avoid cool solutions

Engineers love innovation, shiny tools, and creative ways of solving problems. This is a good thing and a bad thing. It’s good because we do need new solutions to go forward, but it’s also a bad thing to risk stability, of both the product and the team, by...

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.