Code quality and design

50 posts
Inconsistent MongoDB regex behavior in document nested Objects

Inconsistent MongoDB regex behavior in document nested Objects

MongoDB supports full-text search. The word stemming, which it uses under the hood, may be quite useful in some cases. However, MongoDB FTS has a non-obvious limitation, which can leave you confused while producing empty search results instead of errors.

Taking PHP Seriously

Taking PHP Seriously

Once considered a dying programming language, PHP has undergone a massive transformation in recent years, evolving into a powerful and modern web development tool.

Pulse: Episode 11 – On technical debt with Jonas Drieghe

Pulse: Episode 11 – On technical debt with Jonas Drieghe

Listen to this new Pulse podcast episode on technical debt where Jonas and Andreas discuss managed vs unmanaged debt, legacy code, code rot and give some tips on how to work with technical debt in any given circumstances.

How to do a software rewrite

How to do a software rewrite

Should you start from scratch or invest time to refactor your application? * The concepts explained: software rewrite, starting from scratch, and refactoring * When should you create software from scratch? * Making the decision: How to decide to rewrite or refactor? * How to get started with refactoring? Software rewrite vs. starting from...

On Technical debt - What is it, how is it created, what types of technical debt are there, how to avoid tech debt, and how to fix it?

On Technical debt - What is it, how is it created, what types of technical debt are there, how to avoid tech debt, and how to fix it?

What is technical debt? How can you fix technical debt and what is the best approach to avoid technical debt?

Fixing cookiebot bug by not fixing cookiebot

Fixing cookiebot bug by not fixing cookiebot

I want to start with a small disclaimer that I don’t fully understand what exactly went wrong and why the things we did fixed the problem. I’m pretty sure I would be able to find out by staring long enough at very complex code, but at some point,...

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

Performance tips for Laravel

Performance tips for Laravel

Recently, we were looking into some Laravel PHP8 performance issues we were experiencing on one screen of a web application. This screen would show an aggregation of several statistics across the application and would include things like: * The total number of tickets, grouped by their status (open, closed, …) * The total...

Help, I’m creating a file upload

Help, I’m creating a file upload

Every software engineer has at some point in their career been asked to build a file upload. Perhaps it was to let a user upload an avatar, to import a bunch of contacts into a CRM, or to attach images or legal documents to a real estate property. On the...

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.