Hacker News new | ask | show | jobs
by velis_vel 4575 days ago
Is it? It's not really clear what a 'transformation of data' entails, or why handlers and actions are separated.
1 comments

"Transformation of data" makes a lot of sense if you're accustomed to "pipes and filters" architectures. It's anything your program might actually do with data that passes through it. Doesn't matter what it is – it's a black box!

Why should handlers and actions be separated? Because they're different things! This is already standard in web architectures: the router is a collection of handlers and the functions that the router calls out to are actions. I like that actions are separated out from the monolithic "controller".