Unorthodox decoration
Everyone knows the classic decorator pattern—but have you met its duck-typed cousin? Discover how to extend Laravel behavior without interfaces, the clever way.
A rather technical weblog where Muhammed likes to share his thoughts.
Everyone knows the classic decorator pattern—but have you met its duck-typed cousin? Discover how to extend Laravel behavior without interfaces, the clever way.
Tired of cramming endless route configuration options into your Laravel package just to satisfy every user request? Let's see how to keep it clean and flexible without the bloat!
I've been working with Eloquent for over half a decade now, and it's time to share my bag of tricks. Buckle up, it'll be a good ride!
Mastering elation with the decorator foundation! Let's take a look at how we can leverage this simple, yet powerful design pattern in the context of a Laravel package.
I've been working with Eloquent for over half a decade now, and it's time to share my next bag of tricks. You are guaranteed to learn something new!
Laravel and its prosperous open-source community. Can it even get better? Yes, I do think so. Please allow me to share a few points on how to get even better as a community.
What are controllers? What's their intended purpose? Can we put business logic in them? How many lines of code should they contain? Let's find out.
What is the repository pattern? What is it good for? Why'd we use it if we're never going to change the RDBMS? Would it be considered over-engineering if we did use one? Let's find out.