Back to Vol 22, Issue 1

PHP Architect · Vol 22, Issue 1 · January 2023

Domain Logic in One Place

by Stathis Georgiou

In this article, I want to examine one of the most common problems I have faced while working on many applications, legacy or not. I will also suggest an alternative solution, but first, I will need to lay out why I think this is happening and what we could look out for to avoid it in the first place. I am unaware of an official name for this phenomenon; however, I call it “scattered business logic”. It simply means that the business rules which describe the problem and its solution often are spread out in multiple files and even technologies instead of being in one place.

The full article is in PHP Architect Vol 22, Issue 1. Subscribe to read it and every new issue.

Subscribe
Stathis Georgiou

About the author

Stathis Georgiou

Stathis Georgiou currently lives in London, with his two kids and wife. He is a happy dad and a passionate developer who is always looking to improve himself and help others do the same. His favorite language to work with is PHP, which was love at first sight for him! He has worked with PHP for the last six years on various projects, small to very complex, and he is always amazed by how differently people use this language to solve their problems.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →