PHP (5)

Refactoring a PHP app in Go: Entity and Value Object

In this blog, I have posted a series of articles on how to create an app using Clean Architecture and DDD, albeit a simplified version. Now, it's time to bring these concepts to Go. Golang is considered a "light" object-oriented language since it supports concepts…

Error Handling with Middleware

Error handling, along with unit testing and security, is one of those topics that, while super important, you hardly see anyone talking about it or taking it seriously. It is often completely ignored in applications or is not a well-designed process. Most of the articles…

The Domain Layer - Clean Architecture & Domain-Driven Design on PHP

The fundamental part of Clean Architecture and Domain-Driven Design is the Domain layer. There all the business and applications rules are laid down and will be controlling the processing of information independently from the infrastructure and frameworks. In the last post we discussed a little…