Tag
Object-oriented design
Every article on Object-oriented design, newest first.
- 9Articles
- 74 minOf reading
- 3Subjects
Nobody Wants To Touch That Model
Every Laravel codebase has a model people route around. Counting its lines is the least useful thing you can do to it, and extracting traits is how the count gets hidden rather than fixed.
The Interface With One Implementation
You added it so the thing could be swapped out later. Later arrived and nothing was. Counting implementations is the wrong test, and where the interface lives tells you far more.
Introducing Signal: documentation that lives in your code
Signal is a PHP library that generates living documentation from native attributes. Annotate your classes, run one command, get accurate docs.
The Object Design Style Guide for PHP 8.5 - Discipline without friction
How PHP 8.5 absorbs Noback's Object Design Style Guide patterns directly into syntax, eliminating ceremony.
Learn all about Laravel's dependency injection container
Learn how Laravel's dependency injection container simplifies code organization and optimization for efficient Laravel applications
Steve vs Matt - How two developers approach the same problem
Steve vs Matt; Two Developers, One Problem - Witness two programmers tackle the same challenge with contrasting approaches
Eloquent API Calls
Discover advanced techniques for API integration in Laravel, focusing on configuring GitHub API calls, utilizing Enums, and creating efficient client resources.
Composition over inheritance in final classes
Learn how to integrate final PHP classes using composition over inheritance in your apps.
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.