Articles Tagged: design-patterns
Technical writings, opinionated architectures, and development guides tagged with design-patterns.
The Pattern-First Trap in PHP
Why starting with design patterns too early can overcomplicate PHP apps, and a practical way to design from constraints instead.
Reducing code duplication
Learn to reduce code duplication in Laravel using artisan commands and services for better code quality.
Effective Eloquent
Explore advanced Eloquent querying in Laravel with a focus on efficient ORM usage for a banking app, including user accounts and transactions management.
Reaching for Facades
Demystify Laravel Facades and harness them for clear, efficient code and Laravel's unique features.
Writing to the Database with Eloquent
Learn methods of writing to the database using Laravel's Eloquent ORM for effective database interactions.
Using Route Registrars in your Laravel application
Enhance Laravel route management with Route Registrars. Simplify route registration and organization for cleaner and more efficient code.
Laravel Command Bus
Implement Command Bus in Laravel for efficient code management. Learn to create command handlers and integrate them seamlessly into your projects.
Adapter Pattern
Explore the adapter design pattern in coding through a practical example of building a versatile social poster class, adaptable for different social networks.