Articles

|

How Should We Structure Our Laravel Apps?

Project structure is a hot topic that has likely challenged us all throughout our careers. It's common to find ourselves questioning where a particular piece of code should go, which can be disruptive to the development process. This constant self-questio…

|

The Open/Closed Principle in Laravel

The Open/Closed principle is the second principle of the SOLID acronym and is the broadest principle of SOLID. Because it so broad it can seem a little vague when you are first learning about it but it's actually a very simple concept. The official state…

|

Why I'm Using Skimpy CMS for my Blog

This blog is created with my own open source CMS called Skimpy. I think web development has a tendency towards complexity and sometimes we get carried away. Skimpy takes things back to the basics. For my own user experience when blogging I wanted a few t…

|

Should we Follow SRP in Controllers?

You probably already know it - The Single Responsibility Principle, one of the five SOLID principles of object-oriented design. It states that a class should have only one reason to change, meaning it should only have one job or responsibility. This princ…

|

The Aggregation of Marginal Gains

The concept of the aggregation of marginal gains originates from James Clear's book, Atomic Habits. I read this book several years ago when it was first published, and it remains the only book whose principles I consistently apply in my daily life. Often…