Build an ETL Pipeline
Template Method pattern
Challenge 2 of Make It PluggableIntermediate~55 minFree
Build an ETL pipeline the way frameworks do, as a fixed skeleton. One run() method fixes the order of extract, transform, and load, while subclasses override individual steps to change behaviour without ever rewriting the algorithm. Add an overridable hook, then record the execution order to see the template in action. The Template Method pattern behind Django views, test frameworks, and data pipelines.