← Graph

Params-Driven Development

concept 2 connections

Anti-pattern Krzywda calls out: a controller receives a bag of params (possibly constructed in JavaScript or a view template) and that bag flows down through form objects, service objects and models until it is saved. The result is coarse, non-intention-revealing updates like 'update user' instead of granular commands like 'change email'. The DDD fix is to map params to specific commands early and keep the rest of the system working with commands, not param hashes.

category
practice
about
Params-Driven Development concept
Named and criticised as an anti-pattern in the talk.
about
Params-Driven Development concept
Takeaway targets this specific anti-pattern.

Provenance

Read by
9 extractions