Courses

Design Patterns & Principles - a free course

A hands-on introduction to writing clean, maintainable code - SOLID, KISS and DRY, the Gang of Four design patterns, and refactoring, with clear PHP examples.
8 Chapter 45 Lessons from courses Free
Design Patterns & SOLID - Free Course | Oatllo

About this course

About this course

This free course teaches you to write clean, maintainable code - the part of programming that separates code that works today from code you can still change a year from now. You'll start with the ideas every good design rests on: coupling, cohesion and code smells.

From there you'll master the principles that guide day-to-day decisions - SOLID, KISS, DRY, YAGNI - and then the classic Gang of Four design patterns: creational, structural and behavioral, each with a small, realistic example. The later chapters show the patterns you already use in a modern framework, when a pattern is the wrong choice, and how to refactor messy code toward a clean design.

Every lesson builds on the previous one, with short PHP examples you can read and adapt - though the principles apply in any object-oriented language. By the end you'll recognize good and bad design on sight, and reach for the right tool instead of the nearest one.

It's written for developers who can already write code and now want to write it well.

Course curriculum

Start with the first lesson

Free, self-paced and hands-on. Jump in and start building.

Go to course