alt text

Project Management

Check how you could manage projects to made them easy to maintain.

alt text

Software architecture

guess what's more important than meeting clean code rules? and why?

alt text

Increase programming skills

You will find here articles which present how to create better code

Hardcoded parts

CONSTANTS Have you ever saw something like that? We have a few code smells here. I’ve discussed some of them in other articles, such as nested ‘if’ statements and unclear intentions of those conditions. What else should be done to improve it? The answer is: avoid hard-coded definitions of...

Dependency Injection code smells

The use of injection does not automatically ensure that our code is correctly structured. While it’s an excellent mechanism for breaking dependencies and writing decoupled code, improper usage can introduce chaos into our system. There are certain code smells that, when detected, should alert you to potential design flaws...

Naming conventions

I assume you’re already familiar with PSR-1 & PSR-2, which provide PHP recommendations for naming conventions, such as using camelCase for function names. However, there are a few aspects that aren’t clearly defined there, which can significantly impact your code quality. Variables and Attributes Naming Style Firstly, it’s crucial...

Refactoring Example – guard clauses

I believe the most effective way to learn is through hands-on experience with real-world cases. Below, I will discuss a case study from one of our actual projects, focusing on how we managed the refactoring of a specific section of legacy code. Please note that this article won’t delve...

Clean Code – how to start

There are multiple rules out there which helps to achieve the clean code in your codebase. All of them are worth to familiarize with. But if I had to choose the most important one – I would say it will be SOLID principles. If you will write SOLID code, then probably...