Pipeline: A linear chain of dataflow stages, each transforming the output of the previous one. In dataflow programming, a pipeline is a straight chain of stages, each transforming the output of the previous one. Data flows in at one end and comes out processed at the other. Unix commands joined with |, Laravel collection chains and stream processing jobs are all pipelines. Each stage does one thing, and you build complex behaviour by combining simple steps.
Pipelines are easy to read, test and change, because each stage has one input and one output. You can insert a stage to log or validate data, or swap one out, without touching the others. Laravel even has a Pipeline class that passes an object through a series of steps, the same mechanism its middleware uses. When a function grows into a long sequence of transformations, a pipeline often expresses it more clearly.
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.