Harness the power of functions to build composable rack applications
summary
Explains how web_pipe turns Rack's two-way middleware model into a one-way pipeline of functions that take and return the same connection struct, letting steps compose and short-circuit; shows real code using Rack middleware, dry-container, dry-transformer, dry-validation and Hanami 2 integration; builds a working to‑do example with repository, a transaction bound by dry‑monads, sessions, CSRF and flash, and demonstrates that the composed application runs and replaces ad‑hoc controller plumbing.
AI-written summary · about
chapters (5)
related talks
30mThe Power of Middleware - Building Your Own Mini Web Framework on Rack
28mIn a World of Middleware, Who Needs Monolithic Applications
22mRack Middleware as a General Purpose Abstraction
33mRack Middleware as a General Purpose Abstraction
38mRewriting Rack: A Functional Approach
28mRack for web developers
41mRack - A Framework to Roll Your Own
37mRuby on Rack: The Magic Between Request and Response
