How to integrate a new DDD/hexagonal module into an existing legacy codebase without a full rewrite. The “Legacy Port in Infrastructure” pattern explained with concrete examples and diagrams.
Context The objective is to set up an OpenId Connect Server using the Authorization Code Flow from an Oauth2 server…
When we are working alone or as a team on a project and care about quality and security of our…
SOLID: what is it? Robert Cecil Martin is the author of First five principles of object oriented design. Learn more…
What is the hexagonal architecture? The hexagonal architecture is a case of application of DDD (Domain Driven Design). It allows…
Traits are a mechanism for reusing code in language with inheritance such as PHP. A trait attempts to reduce some…




