About this course
Design patterns are complex and quite confusing. For many years, I've been asked to create content about them. So, finally, you're reading this course.
The majority of tutorials about design patterns sound vague and theoretical. Do you hate Shape/Rectangle and Foo/Bar examples like I do? As a result, the concept is boring, hard to understand, and not applicable to real-world projects.
So, I have three goals here:
-
Filter: pick only the patterns I've seen used in Laravel
-
Translate: explain the theoretical definitions in human language
-
Practice: show real examples of patterns both in the
/app
folder of Laravel projects (first section of the course) and in the core of the framework, in the/vendor
folder (second section of the course).
Here are a few code examples from the course.
Services with interfaces:
Creating your own Facades:
Singleton/Manager in Laravel:
Testimonials from students:
So, are you with me on this journey "from boring to exciting"? :)
Let's start with the first lesson.