Bookmarks tagged with #sw-patterns.
Show all
Show all
Laravel Zero-Downtime Migrations: Expand and Contract Pattern | RichDynamix
A step-by-step guide to Laravel zero-downtime migrations with the expand and contract pattern: nullable expands, batched backfills, and flagged reads.
Saved
on: 2026-07-14
The Agentic AI Handbook: Production-Ready Patterns - Log - nibzard
A comprehensive guide to 113 battle-tested agentic patterns for building production AI agents.
Saved
on: 2026-01-21
Alexander Shvets
Refactoring.Guru makes it easy for you to discover everything you need to know about refactoring, design patterns, SOLID principles, and other smart programming topics.
Saved
on: 2025-12-11
Refactoring Legacy: Part 1 - DTO's & Value Objects
Ever opened a codebase where a single JSON payload could arrive in 17 different shapes depending on the phase of the moon?
Over the last few years my contracts have involved working with legacy code in one way or another. Outdated software, missing documentation, inconsistent data structures and the occasional
Saved
on: 2025-11-20
Unraveling the Magic of Composition over Inheritance | by Robin Ingelbrecht | Medium
“Composition over inheritance” is a principle in programming that emphasizes the use of object composition instead of class inheritance to achieve code maintainability. While inheritance can be…
Saved
on: 2025-01-21
Tagged Singletons - stitcher.io
A blog about modern PHP, the web, and programming in general. Follow my newsletter and YouTube channel as well.
Saved
on: 2024-05-27
Practical Techniques to Reduce the Harm of Active Record : ShawnMc.Cool
Saved
on: 2023-11-07
How to Produce a Rich Domain Model with Active Record
You can't. It's not possible. I know that sounds like an outrageous claim given the popularity of the Active Record pattern, but it's true.
Saved
on: 2023-10-04
Build Your Own Service Container in PHP - Minimal Container - Ryan Chandler
Exploring software development with PHP, JavaScript, Rust, and beyond.
Saved
on: 2023-05-29
Repositories and their true purpose - Muhammed Sarı
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.
Saved
on: 2023-05-25
Conquering Legacy Code: Embrace the Strangler Fig Pattern for Seamless Soft
Saved
on: 2023-05-12
Conquering Legacy Code: Embrace the Strangler Fig Pattern for Seamless Software Migration
In the software development world, legacy code is inevitable. As technology evolves and user needs change, 99% of software engineers will encounter legacy code in their careers. Many developers, however, feel overwhelmed when faced with the task of updating or migrating a legacy system. Fear not, for we have a solution: the Strangler Fig pattern.
Saved
on: 2023-05-11
Refactoring Legacy Code with the Strangler Fig Pattern
There are strategies for reducing the size and responsibilities of large objects. Here’s one that worked for us at Shopify, an all-in-one commerce platform supporting over 1M merchants across the globe.
Saved
on: 2023-04-20
Strangler Pattern in practice | Accesto Blog
This week I finally hit the delete button. I've been waiting for this moment for the last 3 years. Finally, I erased the legacy part of the codebase I was working on! Using a strangler pattern, we got to the point where the legacy SaaS application was completely replaced with a new shiny web application that everyone wants to work on and develop. But let’s start from the beginning.
Saved
on: 2023-04-20
Laravel Response Classes - Laravel News
Responding from your Laravel application is vital, especially when you are building an API. Let's have a look at how we can power up our responses.
Saved
on: 2023-03-15
Value-Oriented Programming
The research Val programming language uses value-oriented programming. Lucian Radu Teodorescu explores this paradigm.
Saved
on: 2023-02-08
PSR-14: Example - Access voting | PeakD
So far in our 5 part series we've dug into the details of Events, Dispatchers, and Providers. An awful lot of flexibili... by crell
Saved
on: 2023-02-01
Code vs. No-Code | Jason Morris
There was a conversation on Twitter this week that helped to clarify my thinking about something, and I wanted to share.
There is a sort of tension between “code” and “no-code” (sometimes “low-code”) solutions.
People who consider themselves software developers see people trying to use no-code solutions to do things that the no-code solutions are not good at, and they get frustrated that the capabilities of those tools has been overestimated.
Saved
on: 2022-06-23
Handling Plugins In PHP
A common problem that developers face when building applications is how to allow the application to be “plug-able” at runtime. Meaning, to allow non-core code to modify the way an application is proc
Saved
on: 2019-12-30
hgraca/explicit-architecture-php: This repository is a demo of Explicit Arc
This repository is a demo of Explicit Architecture, using the Symfony Demo Application. - hgraca/explicit-architecture-php
Saved
on: 2019-06-07
Any up to date tutorials about service layers, workers, data transfer object, mappers, factory and design patterns in general? : r/PHP
Saved
on: 2019-05-30
Nick Craver - Stack Overflow: How We Do Deployment - 2016 Edition
This is #3 in a very long series of posts on Stack Overflow’s architecture.Previous post (#2): Stack Overflow: The Hardware - 2016 EditionWe’ve talked abou...
Saved
on: 2019-05-28
Writing Resilient Components — Overreacted
Four principles to set you on the right path.
Saved
on: 2019-03-18
Elegant patterns in modern JavaScript: RORO
Most of my functions now accept a single parameter of type `object` and many of them return or resolve to a value of type `object` as well. Thanks in part to the _destructuring_ feature introduced in ES2015, I’ve found this to be a powerful pattern...
Saved
on: 2018-03-25
http://designpatternsphp.readthedocs.io/en/latest/
Saved
on: 2016-09-16
Towards CQRS, Command Bus — Loïc Faugeron — Technical Blog
Technical articles about Symfony and TDD
Saved
on: 2016-05-12
dbpatterns - create, share, explore database patterns
Saved
on: 2016-04-07
Stress-free refactoring with Scientist | Shameer C
Saved
on: 2016-03-09
php-circuit-breaker/README.md at master · ejsmont-artur/php-circuit-breaker
PHP implementation of circuit breaker pattern
Saved
on: 2016-02-26
The Ultimate Developer Guide to Symfony - Dependency Injection — Loïc Faugeron — Technical Blog
Technical articles about Symfony and TDD
Saved
on: 2016-02-26
Feature Toggles (aka Feature Flags)
Feature Flags can be categorized into several buckets; manage each appropriately. Smart implementation can help constrain complexity.
Saved
on: 2016-01-30
PHPNW15: James Mallison - Dependency Injection and Dependency Inversion in
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
Saved
on: 2015-12-21
New Composer Patterns | Jordi's Ramblings
Here is a short update on some nice little features that have become available in the last few months in Composer. Checking dependencies for bad patterns You may know about the composer validate command, but did you know about its new --with-dependencies / -A flag? It lets you validate both your project and all your dependencies at once! This is qu...
Saved
on: 2015-12-19
4 JavaScript Design Patterns You Should Know ( Scotchmas Day 2) | Scotch
Technical tutorials, Q&A, events — This is an inclusive place where developers can find or lend support and discover new ways to contribute to the community.
Saved
on: 2015-12-16
PHP-DI - The Dependency Injection Container for humans
PHP-DI is a Dependency Injection Container for PHP that intends to be practical and powerful.
Saved
on: 2015-11-15
http://www.devbattles.com/en/sand/post-1306-Design+Patterns+in+PHP#.Vg9o9Ohl9Bk.twitter
Saved
on: 2015-10-03
swivel/README.md at master · zumba/swivel
Strategy driven, segmented feature toggles
Saved
on: 2015-09-18
http://blog.joefallon.net/2015/08/immutable-objects-in-php/
Saved
on: 2015-09-11
rkrx/php-contracts: A curated list of mature interfaces to build components on
A curated list of mature interfaces to build components on - rkrx/php-contracts
Saved
on: 2015-09-01
Refactoring Loops and Conditionals : Adam Wathan
In this screencast, I refactor some complex procedural code into a simple chain of transformations using functional programming techniques.
Saved
on: 2015-05-05
Cloud Computing Patterns
Summary of the book “Cloud Computing Patterns” by Springer and related materials.
Saved
on: 2015-02-08
An example of preparatory refactoring
A simple example of how it can be easier to make a change by first refactoring the code to make the change easy.
Saved
on: 2015-01-05
Creating Domain Objects Recap | Culttt
This article explains the fundamentals of Domain Driven Design, emphasizing the importance of encapsulating business logic within Domain Objects.
Saved
on: 2014-12-28
What's the difference between Active Record and Data Mapper? | Culttt
An ORM is a layer that is used to transform data between an application and a database.
Saved
on: 2014-12-28
Proxy Injection
Service Location is a a design pattern in which new objects are created through a common object. This Service Locator is a factory of sorts, sometimes making new objects and other times resolving…
Saved
on: 2014-09-15