Hey, I'm Robbert đź‘‹

I build things for the web. Currently exploring the intersection of TypeScript, cloud infrastructure, and game development. This is where I share what I learn along the way.

Latest Posts

A Clean Approach To Dynamic Component Variants

The complexity of handling multiple physical layouts for a single component can lead to brittle, nested conditional logic. Discover how the Higher Order Component (HOC) pattern provides an elegant, centralized mechanism for dynamic component resolution, promoting cleaner code and isolated testing for variant-rich UIs.

7 Aug 2025•3 min read

Adding basic auth to Api gateway using CDK and TypeScript.

When platform services lack built-in capabilities (like native Basic Authentication), developers must extend the framework. This post demonstrates how to integrate custom serverless functions—here, an AWS Lambda Authorizer—into an API Gateway using CDK/TypeScript to enforce security policies and implement bespoke authentication flows.

3 Jul 2021•3 min read

Building a Rules Engine with PHP.

Business logic often demands flexible and runtime-definable conditional processing. See how implementing a lightweight Rules Engine pattern, which separates validation logic (Rules) from the data being checked (Facts), replaces nested conditional statements with a scalable, dynamic, and easily configurable system using PHP callables.

14 Mar 2021•4 min read

Implementing a simple AI for games in Godot.

Mastering enemy behavior in games requires clear operational boundaries. This piece explores applying the Finite State Machine (FSM) pattern for efficient game AI design in Godot, abstracting complex behavior into discrete states and managing transitions for clean, contextually relevant logic execution.

10 Feb 2021•3 min read

Implementing fizz buzz with the chain of responsibility design pattern.

When a request needs to pass through a sequence of potential handlers with defined precedence, the Chain of Responsibility pattern is ideal. Explore how this behavioral pattern modularizes complex sequential logic, allowing new processing steps to be added easily without altering existing handler code.

23 Jul 2020•5 min read

Generating XML files by using the strategy pattern.

Dealing with code bloat from generating various file formats? The Strategy Pattern offers a clean way to delegate unique logic to specialized classes while centralizing common tasks, ensuring an elegant and scalable solution for creating and transferring XML files.

9 Jul 2020•4 min read

Creating unique numbering sequences using a custom identifier strategy with Doctrine.

When standard ORM identity generation falls short of complex business needs, like creating unique, composite sequence numbers per related entity, custom solutions are required. This post details how to implement Doctrine's Custom Identifier Strategy to override standard primary key generation, demonstrating a method for safely managing and atomically incrementing a separate sequence counter within a transaction.

21 Jun 2020•6 min read

Aggregating your data by with SQL views and Doctrine.

Need to present complex, pre-aggregated data to an ORM without sacrificing database performance? Learn to bridge the gap between structured query language and object mapping by leveraging SQL Views as read-only Doctrine entities, isolating reporting data and simplifying application-level queries.

16 May 2020•4 min read