10-01-2019
Arnout Boks
Handling errors or other non-'happy path' situations is essential when creating robust PHP applications. Proper exception handling takes quite some effort, but will eventually result in a much more stable application. In this post, I would like to introduce you to the set of best practices we have adopted at Moxio over the years.
PHP exception exception flow OOP design patterns EN
13 min.
Lees verder
Software architect
02-06-2017
At Moxio we strongly value writing type-safe code. This can be a challenge in PHP however, especially as it lacks a feature known as ‘generics’. In this blog post I will show how (lack of) generics influences type-safe design, how parameter types and return types may change when extending a class or interface, and how we can keep our package design sound while doing so.
PHP type safety OOP generics design patterns type theory EN
10 min.