DELAPARRA
Index
Color
NL
Category: Programming paradigms

Pipeline

Explained by Updated

What is Pipeline?

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.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Pipeline

What should you keep in mind with Pipeline?

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.

At a glance

CategoryProgramming paradigms
Explained by
Updated

More Programming paradigms terms

All terms starting with P

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.