All articles

Sometimes, a good old article list ordered from newest to oldest is all we need. Is that the case for you too? There you go my time lord.

68 articles
1 year ago

Deploy with zero-downtime

Now that we have Deployer installed and configured, let’s hit the deploy button and ship our application to our server.

Install and configure Deployer

In this article, we’re configuring a powerful deployment flow in a few lines of code by installing the Deployer library to our Laravel application.

Set up a server for Laravel applications

In this lengthy episode, we create a server from scratch on Digital Ocean that includes everything we need to welcome our Laravel application.

Deploy your Laravel app from scratch

Introduction and preparations

In this first episode, we take a look at the big picture of what we’ll achieve by the end of this series and get started by purchasing our domain name.

Abstract pagination with lazy collections

In this article, we learn about generators and lazy collections before using them to abstract the pagination of the GitHub jobs public API.

GitHub Sponsors

Dealing with non-trees

As promised, we will see how to tackle clusters of nodes that do not comply with the traditional "tree" definition. And we will do so using visitors.

Persisting nodes in Laravel

Now that we know enough about nodes, let's go through more practical real-life examples that have to be stored in a database.

A dictionary of visitor operations

This episode acts as a thorough dictionary of operations visitors can perform on your nodes. The perfect article to refer back to when getting your hands dirty.

GitHub Sponsors

Breadth-first search

Let's talk about a whole new way of visiting our nodes using "breath-first search". We'll see how it differs from "depth-first search" and study an example that involves a pirate and a treasure.

GitHub Sponsors

Traversing our nodes

The Visitor pattern offers great flexibility when it comes to traversing our cluster of nodes. We'll see how we can use this to our advantage.

The Visitor pattern

In this episode, we see the benefits of letting an external class visit our nodes and we create our first visitors.